aws iam update-group
Updates the name and/or the path of the specified IAM group. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To rename an IAM group
The following update-group example changes the name of the IAM group Test to Test-1.
aws iam update-group --group-name Test --new-group-name Test-1Identify--group-nameName of the IAM group to update.--new-group-nameNew name for the IAM group.This command produces no output.
For more information, see Renaming an IAM user group in the AWS IAM User Guide.
Options
--group-nameName of the IAM group to update.--new-group-nameNew name for the IAM group.--new-pathNew path for the IAM group.