DELETE /v1/api-keys/{id}
Path parameters
string
required
The key
id (e.g. ak_7Yq3Lm) to revoke — not its secret.Request
Response
Returns204 No Content on success. The operation is idempotent — revoking an already-revoked key still succeeds. A revoked key is dropped from List API keys and any further request it makes returns 401.
Errors
error
No key with that id exists in your account.
key_in_use
You tried to delete the key authenticating this request. Use a different key to revoke it, so you don’t cut your own access mid-call.
key_internal
The target is an internal service key (e.g. the credential the dashboard runs on) and can’t be revoked through this API.
