API version:
POST /oauth/revoke
Revoke an existing Access Token
Revoking an Access Token
Revoking an access token will delete it from the server.
There are 2 ways to authenticate using your client credentials:
-
Using basic auth with the client id as username and secret as password
-
with parameters `client_id` and `client_secret`
This endpoint will always return a 200 response, as per RFC7009.
Supported Formats
jsonErrors
| Code | Description | Metadata |
|---|---|---|
| 403 | Forbidden | - OAuth2 Error |
Examples
POST application/x-www-form-urlencoded:
curl -d 'token=ACCESS_TOKEN_TO_EXPIRE' -X POST -u 'YOUR_CLIENT_ID:YOUR_CLIENT_SECRET' https://api.rightsignature.com/oauth/revoke
RESPONSE:
{}
Params
| Param name | Description |
|---|---|
|
token required |
The access token to be revoked Validations:
|