Update a token
Only the fields sent change. ACTIVE and SUSPENDED tokens are pushed to partners again before the change is saved. If the push to roaming partners fails the call answers 502 and the token is left as it was; retry with the same Idempotency-Key.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
token_id
The token’s id.
Request
This endpoint expects an object.
visual_number
contract_id
issuer
language
whitelist
Allowed values:
group_id
metadata
Response
The token after the update.
id
organization_id
uid
type
contract_id
issuer
country_code
party_id
whitelist
ocpi_version
status
created_at
last_updated
visual_number
group_id
language
valid_from
valid_until
metadata
status_reason
invalidated_at
Errors
401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error