Revoke an access token or refresh token
Authorization
oauth2 AuthorizationBearer <token>
In: header
Request Body
application/x-www-form-urlencoded
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/auth/revoke" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d ''Empty
{ "code": "string", "message": "string", "details": {}}{ "code": "string", "message": "string", "details": {}}