Skip to main content
POST
/
oauth
/
revoke
cURL
curl --request POST \
  --url https://sandbox.onconsul.com/v1/oauth/revoke \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "<string>"
}
'
{}
Invalidate an OAuth access or refresh token. Once revoked, the token can no longer be used to make API requests.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
token
string
required

Response

OK

The response is of type object.