Grants a sub-account or Resource Access Management (RAM) user the permissions to manage specified resource groups.


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 headers

This operation uses only the common request header. For more information, see Common request parameters.

Request syntax

POST|DELETE|PUT /pop/v5/account/authorize_res_group HTTP/1.1

Request parameters

Parameter Type Position Required Example Description
ResourceGroupIds String Query Yes 461;462

The ID of the resource group. You can call the ListResourceGroup operation to query the resource group ID. For more information, see ListResourceGroup.

Separate multiple resource group IDs with semicolons (;).

TargetUserId String Query Yes test@13333********

The ID of the sub-account or RAM user to be authorized.

Response parameters

Parameter Type Example Description
Code Integer 200

The HTTP status code.

Message String success

The returned message.

RequestId String 57609587-DFA2-**********

The ID of the request.


Sample requests

POST /pop/v5/account/authorize_res_group HTTP/1.1
Common request header
"ResourceGroupIds": "461;462",
"TargetUserId": "test@13333********"

Sample success responses

XML format


JSON format

	"RequestId": "57609587-DFA2-41EC-**********",
	"Code": "200",
	"Message": "success"

Error codes

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