Skip to main content
POST
/
api
/
v1
/
oauth
/
revoke
Revoke token
curl --request POST \
  --url https://api.example.com/api/v1/oauth/revoke \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'token=<string>' \
  --data 'token_type_hint=<string>'
{
  "error": "invalid_request",
  "error_description": "<string>",
  "error_uri": "<string>"
}

Body

application/x-www-form-urlencoded

Token revocation request

token
string
required

The token to revoke

token_type_hint
string | null

Optional hint about the token type (access_token or refresh_token)

Response

Token revoked (or was already invalid)