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

Before you begin:

  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 page appears.

  4. Click the group you want to delete.

    Multiselection is available.

    The group is selected.

  5. Click Delete .
    The DELETE GROUP(S) dialog box appears.

  6. Click Delete to validate.
    The group is deleted and no longer appears on the Groups page.

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.