Revoke an API key for the authenticated customer
API Keys
Revoke an API key
Revoke an API key belonging to your organization. Revocation is a soft delete: the key keeps appearing in GET /v1/api-keys/ with status revoked, but any request using it is rejected with 401 from that point on. A key can revoke itself. Revocation cannot be undone — create a new key instead.
Requires the api-keys:write scope.
DELETE
Revoke an API key for the authenticated customer
Authorizations
API key secret (starts with s_live_). Create keys in the dashboard under Settings → API keys, or via POST /v1/api-keys/. Send it as Authorization: Bearer <secret>.
Path Parameters
The API key ID to revoke
Pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$Response
Successful Response