The following code examples show how to use UpdateGroup
.
- AWS CLI
-
To rename an IAM group
The following
update-group
command changes the name of the IAM groupTest
toTest-1
.aws iam update-group \ --group-name
Test
\ --new-group-nameTest-1
This command produces no output.
For more information, see Renaming an IAM user group in the AWS IAM User Guide.
-
For API details, see UpdateGroup
in AWS CLI Command Reference.
-
For a complete list of AWS SDK developer guides and code examples, see Using this service with an AWS SDK. This topic also includes information about getting started and details about previous SDK versions.