Skip to main content
DELETE
/
api-keys
/
{id}
Revoke an API key
curl --request DELETE \
  --url https://api.example.com/api/v1/api-keys/{id} \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 401,
  "message": "Unauthorized"
}

Authorizations

Authorization
string
header
required

Staff panel JWT access token

Path Parameters

id
string<uuid>
required

API key UUID

Response

API key revoked successfully