OAuth

Revoke OAuth 2.0 Token

Revoke an OAuth 2.0 token for an API client. Once revoked, the token cannot be used anymore.

post/v1/oauth/token/revoke

Request

  • Base URL
    https://api.voucherify.io
  • URL
    https://api.voucherify.io/v1/oauth/token/revoke
  • Auth
    API key in header X-App-Id and API key in header X-App-Token

Request body application/x-www-form-urlencoded

access_tokenstring required

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

Example request

{
  "access_token": "1ABCde2FGHijKl3m4NO5pqR6STUv7wxYzAbc8dE90FgH1IJkLm"
}

Response

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

Changes

No recorded changes to this operation across all 1 revision of this API.