DocsAPI ReferenceRevoke an API key
DELETE/api/v1/api-keys/{key_id}

Permanently revokes an API key. Revocation is immediate — any in-flight requests using the revoked key will start returning `401`. This action cannot be undone.

Path Parameters

key_idintegerrequirede.g. 42

Key integer ID.

Headers

X-API-Keystringrequired

Your workspace API key (must have admin permissions).

Responses

204Key revoked. No content.
404Key not found in this workspace.