You can call this operation to delete a RAM user group.

Before you delete a RAM user group, make sure that no policies are attached to this group and that no RAM users are included in this group.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteGroup

The operation that you want to perform. Set the value to DeleteGroup.

GroupName String Yes Dev-Team

The name of the RAM user group.

The name must be 1 to 64 characters in length, and can contain letters, digits, and hyphens(-).

Response parameters

Parameter Type Example Description
RequestId String FCF40AB5-881C-A0F9-334C-B0AD423AA69D

The ID of the request.


Sample requests
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.