Skip to content

Revoke API key

DELETE
/tenants/{tenant}/apikeys/{id}

Permanently revoke an API key. The key will immediately stop working for authentication. This action cannot be undone — a new key must be created if access is needed again.

tenant
required
string

Tenant name

id
required
string

API key ID (ak- prefix)

API key revoked

Invalid API key ID format

object
error
string

Missing or invalid authentication

object
error
string

Admin access required

object
error
string

API key not found

object
error
string

Rate limit exceeded

object
error
string