Skip to main content
POST
Revoke one of the subject account's API keys (admin write)

Authorizations

Authorization
string
header
required

Clerk dashboard session JWT. Used on dashboard, billing, playground, and admin console routes only:

These are human-session credentials, not API keys. The dashboard frontend must never send authoritative account IDs, plan values, quota counters, Stripe IDs, or API-key actor fields — the server derives ownership from the session. Admin console routes additionally require the custom admin_role claim (admin or support) on the same verified session JWT; writes require admin.

Path Parameters

accountID
string
required
keyID
string
required

Body

application/json
note
string
required

Required operator note; recorded on the admin_actions audit row.

Required string length: 1 - 350

Response

Revoked key metadata.

key
object
required