Skip to main content
DELETE
/
auth
/
keys
/
{keyId}
Revoke an API key
curl --request DELETE \
  --url http://localhost:3000/auth/keys/{keyId} \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "message": "<string>",
  "data": {}
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Format: zdb_your_api_key_here

Path Parameters

keyId
string<uuid>
required

API key ID

Response

API key revoked successfully

success
boolean
message
string
data
object