Adds a RAM user to a RAM user group.


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

Request parameters

Parameter Type Required? Example value Description
Action String Yes AddUserToGroup

The name of this action.

Value: AddUserToGroup

GroupName String Yes Dev-Team The RAM user group name.
UserName String Yes Alice The username of the RAM user to be added to the group.

Response parameters

Parameter Type Example value Description
RequestId String 1B968853-B423-63A6-FE1F-45E81BC2AD61 The request ID.


Request example
&<Common parameters>

Response example

XML format


JSON format



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