remove-user-from-group
Warning
If you are using the federated template, this command is not available. You should execute Groups
admin tasks on Micosoft Active Directory Domain Services (AD DS) server.
Description
Removes the specified user from the specified group.
Synopsis
remove-user-from-group
--user-id <value>
--group-name <value>
Options
--user-id (string)
Username of account to be removed from the user pool group.
--group-name (string)
The name of the group to be updated.
Example
The following command removes user "user_amazon_com" from 'Marketing' group.
Command:
datalake remove-user-from-group --user-id 'user_amazon_com' --group-name 'Marketing'
Output:
{
"code": 200,
"message": "User user_amazon_com removed from group Marketing."
}
Output
Package -> (json)