Disables the specified user as an administrator. Works on any user.
[required] The user pool ID for the user pool where you want to disable the user.
[required] The user name of the user you wish to disable.
Requires developer credentials.
1 2 3 4
svc$admin_disable_user( UserPoolId = "string", Username = "string" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.