v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01302395850.8 KB
oauth

Revoke

OAuth 2.0 Token Revocation Endpoint (RFC 7009)

Allows clients to revoke an access or refresh token.

Note: Revoking a refresh token does NOT revoke associated access tokens. Revoking an access token does NOT revoke the associated refresh token.

post/api/oauth/revoke

Request body

tokenstring required

Token to revoke

token_type_hint'access_token' | 'refresh_token' nullable

Hint about token type ('access_token' or 'refresh_token')

client_idstring required

Client identifier

client_secretstring required

Client secret

Response

Successful Response

{"stackTrail":"paths:/api/oauth/revoke:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}