CmdID / aws / aws cognito-idp
aws cognito-idp admin-remove-user-from-group
Given a username and a group name, removes them from the group. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--group-nameThe name of the group that you want to remove the user from, for example MyTestGroup.--user-pool-idThe ID of the user pool that contains the group and the user that you want to remove.--usernameThe name of the user that you want to query or modify.