Grants a Resource Access Management (RAM) user the permissions on a resource group.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /pop/v5/account/authorize_res_group
DELETE /pop/v5/account/authorize_res_group
PUT /pop/v5/account/authorize_res_group
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
TargetUserId | string | Yes | The ID of the RAM user to be authorized. | test@13333******** |
ResourceGroupIds | string | Yes | The ID of the resource group. You can call the ListResourceGroup operation to query the resource group ID. For more information, see ListResourceGroup . You can specify multiple resource group IDs. Separate multiple resource group IDs with semicolons (;). | 461;462 |
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": 200,
"Message": "success",
"RequestId": "57609587-DFA2-**********"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history