

# Deleting resource groups from Amazon Resource Groups
<a name="deleting-resource-groups"></a>

You can use the [Amazon Resource Groups console](https://console.amazonaws.cn/resource-groups) or the Amazon CLI to delete resource groups from Amazon Resource Groups. Deleting a resource group does not delete the resources that are members of the group or tags on member resources. It deletes only the group structure and any group-level tags.

------
#### [ Console ]

**To delete resource groups**

1. Sign in to the [Amazon Resource Groups console](https://console.amazonaws.cn/resource-groups).

1. In the navigation pane, choose **[Saved Resource Groups](https://console.amazonaws.cn/resource-groups/groups)**.

1. Choose the name of the resource group that you want to delete, and then choose **View details**.

1. On the group's detail page, choose **Delete** in the top right corner.

1. When you are prompted to confirm the deletion, choose **Delete**.

------
#### [ Amazon CLI & Amazon SDKs ]

**To delete resource groups**

1. Run the following command, replacing *resource\$1group\$1name* with the name of your group.

   ```
   $ aws resource-groups delete-group \
       --group-name resource_group_name
   ```

1. When you are prompted to confirm the deletion, type `yes`, and then press **Enter**.

------