CmdID / aws / aws cognito-idp
aws cognito-idp admin-disable-user
Deactivates a user profile and revokes all access tokens for the user. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--user-pool-idThe ID of the user pool where you want to disable the user.--usernameThe name of the user that you want to query or modify.