Docs

Replace the value (and expiry) of a live credential

  • In the sandbox

In plain words

Replaces the value and expiry of a live credential.
POST
/credentials/{id}

Authorization

apiKey
headerAuthorizationBearer <token>

Send your key as a bearer token: Authorization: Bearer <your-api-key>. Health is the only call that needs no key.

Path parameters

id*string

Response body

Replaced.

application/json
  1. response
id?string
client?string
route?string
kind?string
issued_by?string
issued_on?string
expires_on?string
environment?|

sandbox or production; null for a credential stored before 3 Oct 2026, which only a sandbox uses.

legal_entity?string
revoked_at?string
stored?boolean
curl -X POST "https://example.com/credentials/string" \  -H "Authorization: Bearer <your-api-key>"
{  "id": "string",  "client": "string",  "route": "string",  "kind": "string",  "issued_by": "string",  "issued_on": "string",  "expires_on": "string",  "environment": "string",  "legal_entity": "string",  "revoked_at": "string",  "stored": true}