# Set vehicle type ID | Copenhagen Truck Wash API

### Copenhagen Truck Wash API Help

# Set vehicle type ID

This endpoint documentation is generated directly from `openapi.yaml`.

## Endpoint

POST /vehicles/set-vehicle-type-id

## Operation

Operation ID: `setVehicleTypeId`

Set or change the XL Vask `vehicleTypeId` for a vehicle. Permissions: - Own scope: `set_vehicle_type_id` (linked to subuser node `VEHICLES_EDIT`). - Broader scope: `set_vehicle_type_id_other`.

## Authentication

Security requirements:

Scheme | Scopes
--- | ---
BearerAuth | -

## Parameters

Name | In | Required | Type | Description
--- | --- | --- | --- | ---
|  | no | object |

## Request Body

Required: yes.

Content type: `application/json`

{ "properties": { "id": { "type": "integer" }, "vehicleTypeId": { "maxLength": 50, "minLength": 1, "type": "string" } }, "required": [ "id", "vehicleTypeId" ], "type": "object" }

## Responses

Status | Description | Content Types
--- | --- | ---
200 | Success | application/json
400 |  |
403 |  |
404 |  |

Schema for response `200` (`application/json`):

{}
17 March 2026