View source: R/cognitoidentityprovider_operations.R
cognitoidentityprovider_admin_disable_user | R Documentation |
Deactivates a user and revokes all access tokens for the user. A deactivated user can't sign in, but still appears in the responses to get_user
and list_users
API requests.
See https://www.paws-r-sdk.com/docs/cognitoidentityprovider_admin_disable_user/ for full documentation.
cognitoidentityprovider_admin_disable_user(UserPoolId, Username)
UserPoolId |
[required] The user pool ID for the user pool where you want to disable the user. |
Username |
[required] The user name of the user you want to disable. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.