CmdID / aws / aws cognito-idp
aws cognito-idp admin-add-user-to-group
Adds a user to a group. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--group-nameThe name of the group that you want to add your user to.--user-pool-idThe ID of the user pool that contains the group that you want to add the user to.--usernameThe name of the user that you want to query or modify.