Revoke an OAuth token.
POST
/revoke
Code sample: Shell / cURL
curl --request POST \ --url https://auth.example.com/revoke \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data token=example \ --data token_type_hint=exampleAuthorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ” Media type application/x-www-form-urlencoded
object
token
string
token_type_hint
string
key
additional properties
Example generated
token=example&token_type_hint=exampleResponses
Section titled “ Responses ”Token revocation request accepted.
OAuth error response.
Media type application/json
object
error
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "error_description": "example"}