Revoke/disconnect an OAuth token for a specific provider.
Marks ALL tokens as inactive (is_active=False) for the current user and organization.
cURL
curl --request POST \ --url https://api.codegen.com/v1/oauth/tokens/revoke
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Successful Response
Was this page helpful?