Skip to main content
POST
/
v1
/
oauth2
/
revoke
Revoke Token
curl --request POST \
  --url https://api.spairehq.com/v1/oauth2/revoke \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'token=<string>' \
  --data 'client_id=<string>' \
  --data 'client_secret=<string>'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.spairehq.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/x-www-form-urlencoded
token
string
required
client_id
string
required
client_secret
string
required
token_type_hint
enum<string> | null
Available options:
access_token,
refresh_token

Response

200 - application/json

Successful Response

The response is of type RevokeTokenResponse · object.