remove-user-from-group¶
Removes the specified user from the specified group.
Refer to AWS help for descriptions of global parameters.
Synopsis¶
remove-user-from-group
--group-name <value>
--user-name <value>
Options¶
--group-name (string)
The name of the group to update.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters:
_,+,=,,,.,@, and-.
--user-name (string)
The name of the user to remove.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters:
_,+,=,,,.,@, and-.
Refer to AWS help for descriptions of global parameters.
Examples¶
To remove a user from an IAM group
The following remove-user-from-group command removes the user named Bob
from the IAM group named Admins
aws iam remove-user-from-group --user-name Bob --group-name Admins
For more information, refer to Adding Users to and Removing Users from a Group in the Using IAM guide.
Output¶
None

