Skip to main content
POST
/
token
/
revocation
Revoke access token
curl --request POST \
  --url https://auth.endaoment.org/token/revocation \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'token=<string>' \
  --data 'client_id=<string>' \
  --data 'client_secret=<string>'

Authorizations

Authorization
string
header
required

OAuth client ID and secret as HTTP Basic credentials.

Body

application/x-www-form-urlencoded
token
string
required

Access or refresh token to revoke.

token_type_hint
enum<string>
Available options:
access_token,
refresh_token
client_id
string
client_secret
string

Response

Token revoked (or already invalid)