Revoke all active OAuth tokens for a user without deleting the account.
Tokens are immediately invalidated. The user can re-authenticate to get new tokens if their account and subscription remain active.
cURL
curl --request POST \ --url https://api.example.com/api/admin/users/{user_id}/revoke-access \ --header 'Authorization: Bearer <token>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>", "input": "<unknown>", "ctx": {} } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response