Deletes a RAM user group.

Note Before you delete a RAM user group, make sure that no policy is attached to the group and no RAM user belongs to this group.


Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
Action String Yes DeleteGroup

The name of this action.

Value: DeleteGroup

GroupName String Yes Dev-Team

The RAM user group name. It must be 1 to 64 characters in length.

Pattern: ^[a-zA-Z0-9\-]+$.

Response parameters

Parameter Type Example value Description
RequestId String FCF40AB5-881C-A0F9-334C-B0AD423AA69D The request ID.


Request example
&<Common parameters>

Response example

XML format


JSON format



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