delete-group¶
Deletes the specified IAM group. The group must not contain any users or have any attached policies.
Refer to AWS help for descriptions of global parameters.
Synopsis¶
delete-group
--group-name <value>
Options¶
--group-name (string)
The name of the IAM group to delete.
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-.
Examples¶
To delete an IAM group
The following delete-group command deletes an IAM group named MyTestGroup
aws iam delete-group --group-name MyTestGroup
For more information, refer to Deleting an IAM Group in the Using IAM guide.
Output¶
None

