Modifying a Group

Using Cockpit, you can modify the name of a specified group. Using AWS CLI, you can modify its name and/or path.

Modifying a Group Using Cockpit

  1. Hover over your name.
    A drop-down menu appears.

  2. Click Users and Policies Management .

  3. In the EIM navigation panel, click Groups.
    The Groups tab appears.

  4. Click the group you want to modify.
    The group is selected.

  5. Click Update .
    The UPDATE GROUP dialog box appears.

  6. In the New groupname box, type the new name you want to give to the group.

    This name must be unique and must contain between 1 and 128 characters. Allowed characters are a-z, A-Z, 0-9, and +=,.@-_.

  7. Click Update to validate.
    The name of the group is modified and appears on the Groups page.

Modifying a Group Using AWS CLI

To modify the name and/or the path of a group, use the update-group command following this syntax:

Request sample
$ aws iam update-group \
    --profile YOUR_PROFILE \
    --group-name GROUP_NAME \
    --new-path /NEW_PATH/NEW_SUB_PATH/ \
    --new-group-name NEW_GROUP_NAME \
    --endpoint https://eim.eu-west-2.outscale.com

This command contains the following attributes that you need to specify:

  • (optional) profile: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI.

  • group-name: The name of the group you want to modify.

  • (optional) new-path: The new path for the group.

  • (optional) new-group-name: The new name for the group.

    This name must be unique and must contain between 1 and 128 characters. Allowed characters are a-z, A-Z, 0-9, and +=,.@-_.

  • endpoint: The endpoint corresponding to the Region you want to send the request to.

The name and/or the path of the specified group are modified.

Related Pages

Corresponding API Method

AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.