Skip to main content
POST
/
v1
/
vehicles
/
{vehicle_id}
/
registration-plate
Update Registration Plate
curl --request POST \
  --url https://api.volteras.com/v1/vehicles/{vehicle_id}/registration-plate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "registrationPlate": "<string>"
}
'
{
  "make": "<string>",
  "vin": "<string>",
  "id": "<string>",
  "metadata": {
    "lastSeenAt": "2023-11-07T05:31:56Z",
    "consentId": "<string>",
    "accountId": "<string>"
  },
  "model": "<string>",
  "trim": "<string>",
  "modelYear": "<string>",
  "registrationPlate": "<string>",
  "isRegNoValidated": true,
  "regNoValidatedAt": "2023-11-07T05:31:56Z",
  "isListening": true,
  "listeningLastUpdated": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

vehicle_id
string
required

Unique internal identifier for the vehicle.

Body

application/json
registrationPlate
string | null
required
Required string length: 1 - 50

Response

200 - application/json

Successful Response

make
string
required

Manufacturer of the vehicle.

vin
string
required

Vehicle identification number. Unique identifier for the vehicle.

id
string
required

Unique internal identifier for the vehicle.

metadata
VehicleMetaData · object
required

Additional information about the vehicle.

model
string | null

Subcategory of the make, used to differentiate between different variations of a vehicle within the same make.

trim
string | null

Subcategory of the model, used to differentiate between different variations of a vehicle within the same model. Also referred to as version or generation.

modelYear
string | null

Year the vehicle model was released. Could be different than the year the vehicle was manufactured.

registrationPlate
string | null

Plate that is attached to a vehicle and displays a unique combination of letters and numbers assigned to the vehicle by a government agency. Also referred to as license plate or registration number.

isRegNoValidated
boolean | null

Indicates whether the registration plate has been validated

regNoValidatedAt
string<date-time> | null

Timestamp of when the registration plate was last validated

isListening
boolean
default:true

Indicates whether the vehicle is currently accepting data ingestion and commands. Defaults to True when no listening state entries have been recorded.

listeningLastUpdated
string<date-time> | null

UTC timestamp for the most recent listening-state update, or null when no entries exist.