Skip to content

Revoke API key API Reference

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
code
string
error
string
field
string
message
string
severity
string

Missing or invalid authentication

object
code
string
error
string
field
string
message
string
severity
string

Admin access required

object
code
string
error
string
field
string
message
string
severity
string

API key not found

object
code
string
error
string
field
string
message
string
severity
string

Rate limit exceeded

object
code
string
error
string
field
string
message
string
severity
string