Skip to content

Update Vehicle [PREVIEW]

Request

This method allows the client to update a vehicle

Security
api_key
Path
vehicleIdstringrequired

The vehicle id

Bodyapplication/json
registrationNumberstring, <= 10 charactersrequired

The registration number of the vehicle.

vinstring

The Vehicle Identification Number (VIN).

brandstring

The brand of the vehicle.

extendedPropertiesobject

A dictionary of extended properties.

curl -i -X PUT \
  'https://api.oculos.no/v4/modules/vehicles/vehicleId/{vehicleId}' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d '{
    "registrationNumber": "string",
    "vin": "string",
    "brand": "string",
    "extendedProperties": {}
  }'

Responses

Updated