Replace a CDR token snapshot (super-admin break-glass endpoint)

Rewrites the CdrToken row in place with the fields of a live Token looked up by uid, and records a ReplaceCdrToken audit log with old+new snapshots in the same transaction. If the new token has an OCPI partner, the CDR is then re-pushed to that partner on a best-effort basis. Note: OCPI partners may reject or dedupe mutated CDRs they have already accepted — this is expected.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
string
required
length ≤ 64

UID of the Token whose data will replace the CDR token snapshot

boolean
Defaults to false

When false (default), the replacement is only allowed if the current CdrToken is OFFLINE and the target Token has a non-OFFLINE type with the same normalized UID. When true, any CdrToken can be replaced by any Token.

string
required
length between 10 and 500

Human-readable justification for the replacement, persisted verbatim into the audit log. Required for accountability on this break-glass endpoint.

Responses
204

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json