Deleting a Group

You can delete a group of users in you account that you no longer need. You can the reuse the name of the group for another new group.

This action does not delete users or policies, as you need to delete them individually. For more information, Deleting a User or Deleting a Managed Policy.

Deleting a Group Using Cockpit v2

  1. Click inside the EIM Groups dashboard to make checkboxes appear.

  2. Check the box of the group you want to delete.
    The group is selected and an action menu appears.

  3. Click IconTerminate Delete.
    A confirmation dialog box appears.

  4. In the confirmation dialog box, type "DELETE" in the text field and click Delete.
    The group is deleted.

Deleting a Group Using OSC CLI

See the DeleteGroup command sample in the documentation of the EIM API.

Deleting a Group Using AWS CLI

Before you begin:

To delete a group, use the delete-group command following this syntax:

Request sample
$ aws iam delete-group \
    --profile YOUR_PROFILE \
    --group-name GROUP_NAME \

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 delete.

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

The specified group is deleted from your account.

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.