Skip to main content

Revoke one of your API keys

DELETE/keys/{keyId}

Revokes a key at once: its very next request is refused 401 key_revoked. A request already in progress when you revoke finishes. Revoking a key that is already revoked succeeds again and keeps the original revocation time. A key that is not one of yours answers 404 key_not_found, exactly as a key that does not exist.

Revoking does not require a recent sign-in, so a leaked key can always be shut off at once. Only a dashboard session may call this; an API key is refused 403 session_required. No query parameters are accepted.

Request​

Responses​

Revoked. Sent with Cache-Control: private, no-store.