#
Token revocation
#
Introduction
Token revocation is a mechanism that allows users to invalidate or revoke tokens that have been issued to clients.
It consists of the following steps:
- The client makes a request to revoke a token using the client credentials.
- The given token will be invalidated, and a response will be received with the 200 status.
The different steps are described in detail below.
#
Revoking an access token
To revoke a token, the following URL should be used:
Required query parameters:
Required headers:
#
Example
Example with curl
curl --location 'https://sso.pageroonline.com/oauth/v2/oauth-revoke' \
-d 'token=_1XBPWQQ_343bda39-0d5b-4702-9ce3-46fc3fb984d8'
--user 'client_id:client_secret'
The empty response will be received with the 200 status.