Skip to main content
DELETE
Revoke an API key
An API key can revoke itself or a key within its own permissions.
  • Callers: an API key, an MCP OAuth token or a Dashboard session.
  • Permission: any signed-in member, for their own records; an API key also needs api_keys:manage.
  • Effect: Removes or replaces something, and can’t be undone.
  • Errors: not_found, permission_not_held, and the errors any request can get.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

an API key ID: key_ and 32 lowercase hex digits

Example:

"key_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190"

Response

Revoked