MSP · Vehicle Tokens
No OAuth-enabled endpoints in this section. Turn off the OAuth filter in the sidebar to see all of its endpoints.
ROADVehicle tokens module
Non-standard endpoints managing vehicle tokens (Tesla passes): CPO update plus eMSP list/create/update/delete. Not part of the OCPI specification. Available on every connection.
GET/emsp/2.1.1/vehicle-tokens
List vehicle tokens
Returns the MSP's vehicle tokens.
Responses
200OCPI response envelope application/json
dataobject[]
dataobject[]
vehicle_token_idstring
visual_idstring
tesla_idstring
full_namestring
statestring
card_typestring
rfid_uidstring
pass_deactivation_reasonstring
verification_methodstring
last_updatedobject
created_atobject
updated_atobject
status_codeinteger
status_messagestring
timestampstring
401Missing or invalid OCPI token
No response body.
POST/emsp/2.1.1/vehicle-tokens
Create a vehicle token
Registers a vehicle token (Tesla pass).
Responses
200OCPI response envelope application/json
dataobject
dataobject
Successboolean
Statestring
Reasonstring
Errorstring
status_codeinteger
status_messagestring
timestampstring
401Missing or invalid OCPI token
No response body.
PUT/emsp/2.1.1/vehicle-tokens
Update a vehicle token
Updates a vehicle token (Tesla pass).
Responses
200OCPI response envelope application/json
dataobject
dataobject
Successboolean
Statestring
Reasonstring
Errorstring
status_codeinteger
status_messagestring
timestampstring
401Missing or invalid OCPI token
No response body.
DELETE/emsp/2.1.1/vehicle-tokens
Delete a vehicle token
Removes a vehicle token (Tesla pass).
Responses
200OCPI response envelope application/json
dataobject
dataobject
Successboolean
Statestring
Reasonstring
Errorstring
status_codeinteger
status_messagestring
timestampstring
401Missing or invalid OCPI token
No response body.