Update token attributes
Partially updates a token: fields left out are unchanged. Only visual_number, contract_id, issuer, language and whitelist can be changed here, and any other field in the body is ignored. Status changes go through the lifecycle actions.
Requires the emsp:tokens:write scope.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
The token id
Body
1 - 641 - 501 - 100Preferred language, e.g. en or da
2 - 10ALWAYS, ALLOWED, ALLOWED_OFFLINE, NEVER Response
The updated token
Canonical schema version
v1 Stable internal token id, commonly a UUIDv7
64Owning tenant, set by the platform
RFID, APP_USER, AD_HOC_USER, EMAID, OTHER Primary credential identifier, unique within the tenant
50Contract or credential identity, e.g. an eMAID
50Issuer name associated with the credential
100OCPI whitelist policy
ALWAYS, ALLOWED, ALLOWED_OFFLINE, NEVER PROVISIONED, ACTIVE, SUSPENDED, EXPIRED, REVOKED Whether the token has been distributed to whitelist-capable CPO networks
When the token was created in the platform registry
Canonical publication timestamp propagated to roaming partners
2364Preferred language of the token owner
OCPI token group id used in roaming payloads. Unrelated to Spirii EMSP token groups
50Primary Spirii EMSP token group, set at provision time. A convenience only: membership is many-to-many and is managed through POST /emsp/v1/token-groups/{groupId}/tokens
50Name/value pairs validated against the tenant's active TOKEN metadata schema