API referenceOAuth
OAuth2 Token Revocation
Revokes an access or refresh token (RFC 7009); revoking a refresh token also revokes the access token issued with it. token_type_hint only decides which kind is looked up first. Answers 200 whether or not the token existed.
Choose a TEST app to send requests from the playground.
post
/oauth/revokeRevokes an access or refresh token (RFC 7009); revoking a refresh token also revokes the access token issued with it. token_type_hint only decides which kind is looked up first. Answers 200 whether or not the token existed.
application/x-www-form-urlencoded- body
client_id*stringclient_secret?stringtoken*stringtoken_type_hint?string"access_token" or "refresh_token"
OK
application/json- response
[key: string]?stringcurl -X POST "https://example.com/oauth/revoke" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'client_id=string&token=string'{ "property1": "string", "property2": "string"}