Skip to main content
POST
/
extension
/
revoke
cURL
curl --request POST \
  --url https://api.useanima.sh/v1/extension/revoke \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "<string>"
}
'
{
  "revoked": true
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Request body for revoking an extension token

token
string
required

The extension auth token to revoke

Minimum string length: 1

Response

200 - application/json

OK

Result of revoking an extension token

revoked
boolean
required

Whether the token was successfully revoked