keys

POST /v1/keys.revoke

Revokes every outstanding token (access and refresh) for a customer. Authenticated with your secret key. New tokens can be issued afterwards with keys.mint.

Request

Headers

x-api-versionstring required

Request body

customer_idstring required

The customer whose tokens (every outstanding access + refresh token) should be revoked.

Example request

{
  "customer_id": "cus_123"
}

Response

OK

revokedunknown required

Example response

{
  "revoked": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.