Skip to main content
DELETE
/
api
/
api-keys
/
{id}
Revoke an API key
curl --request DELETE \
  --url https://api.example.com/api/api-keys/{id} \
  --header 'Authorization: Bearer <token>'
{
  "error": {
    "code": "<string>",
    "message": "<string>",
    "details": [
      {
        "path": "<string>",
        "message": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Auth0 JWT access token

Path Parameters

id
string
required

API key ID

Pattern: ^\d+$
Example:

"1"

Response

API key revoked