v22

latestOpenAPI 3.1.0raw.githubusercontent.com2025-10-07253798.6 KB
organizations
organizations

Revoke Oauth Token

Revoke/disconnect an OAuth token for a specific provider.

Marks ALL tokens as inactive (is_active=False) for the current user and organization.

post/v1/oauth/tokens/revoke

Query parameters

providerstring required
org_idinteger required

Headers

{"stackTrail":"paths:/v1/oauth/tokens/revoke:post:parameters:2:schema","oasType":"schema","type":"unknown","title":"Authorization"}

Response

Successful Response

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