Skip to main content
POST
/
v1
/
oauth
/
token
/
revoke
Revoke OAuth 2.0 Token
curl --request POST \
  --url https://{cluster}.voucherify.io/v1/oauth/token/revoke \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --header 'X-App-Id: <api-key>' \
  --header 'X-App-Token: <api-key>' \
  --data access_token=1ABCde2FGHijKl3m4NO5pqR6STUv7wxYzAbc8dE90FgH1IJkLm

Authorizations

X-App-Id
string
header
required
X-App-Token
string
header
required

Body

application/x-www-form-urlencoded

Send the request as x-www-form-urlencoded.

Request body schema for POST /oauth/token/revoke.

access_token
string
required

An OAuth 2.0 token generated with the API token and key.

Example:

"1ABCde2FGHijKl3m4NO5pqR6STUv7wxYzAbc8dE90FgH1IJkLm"

Response

Returns no content if the OAuth 2.0 token is revoked successfully.

I