Skip to main content
DELETE
/
api-keys
/
{id}
cURL
curl --request DELETE \
  --url https://api.useanima.sh/v1/api-keys/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "success": "<unknown>"
}

Authorizations

Authorization
string
header
required

JWT Bearer token obtained from authentication. Pass as: Authorization: Bearer

Path Parameters

id
string
required

Unique identifier of the API key to revoke

Pattern: ^[0-9A-HJKMNP-TV-Z]{26}$

Body

application/json

Request body for revoking an API key

Response

200 - application/json

OK

success
any
required