Skip to navigation

Reactivate a token

SUSPENDED → ACTIVE: pushed to partners with valid: true. 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_idintegerRequired>=1

The token’s id.

Headers

Idempotency-KeystringRequired1-255 characters
A unique key you choose for this call, e.g. a UUID. Retrying with the same key returns the first result instead of acting twice.

Response

The token after the change.
idinteger
organization_idstring
uidstring
typeenum or any
contract_idstring
issuerstring
country_codestring
party_idstring
whitelistenum or any
ocpi_versionstring
statusenum or any
created_atdatetime
last_updateddatetime
visual_numberstring or nullOptional
group_idstring or nullOptional
languagestring or nullOptional
valid_fromdatetime or nullOptional
valid_untildatetime or nullOptional
metadatamap from strings to any or nullOptional
status_reasonstring or nullOptional
invalidated_atdatetime or nullOptional

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error