provider User POST /v1/users/{user_id}/connected_apps/{connected_app_id}/revoke
@utdk/stytch /v1/users/{user_id}/connected_apps/{connected_app_id}/revoke
Revoke
Revoke Connected App revokes a Connected App's access to a User and revokes all active tokens that have been created on the User's behalf. New tokens cannot be created until the User completes a new authorization flow with the Connected App.
user_id path required
The unique ID of a specific User. You may use an `external_id` here if one is set for the user.
string
connected_app_id path required
The ID of the Connected App.
string

Try it

Authentication
Configure credentials for Stytch API
apiUserV1Revoke
POST/v1/users/{user_id}/connected_apps/{connected_app_id}/revoke
Revoke Connected App revokes a Connected App's access to a User and revokes all active tokens that have been created on the User's behalf. New tokens cannot be created until the User completes a new authorization flow with the Connected App.

Parameters

required

The unique ID of a specific User. You may use an `external_id` here if one is set for the user.

required

The ID of the Connected App.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import stytch from '@utdk/stytch';

await stytch.apiUserV1Revoke()