Adds a RAM user to a RAM user 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 AddUserToGroup

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

UserName String Yes zhangq****

The name of the RAM user.

GroupName String Yes Dev-Team

The name of the RAM user group.

Response parameters

Parameter Type Example Description
RequestId String 1B968853-B423-63A6-FE1F-45E81BC2AD61

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.