All Products
Search
Document Center

Enterprise Distributed Application Service:AuthorizeResourceGroup

Last Updated:Mar 01, 2024

Grants a Resource Access Management (RAM) user the permissions on a resource group.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

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

ParameterTypeRequiredDescriptionExample
TargetUserIdstringYes

The ID of the RAM user to be authorized.

test@13333********
ResourceGroupIdsstringYes

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

ParameterTypeDescriptionExample
object
Codeinteger

The HTTP status code that is returned.

200
Messagestring

The message that is returned.

success
RequestIdstring

The ID of the request.

57609587-DFA2-**********

Examples

Sample success responses

JSONformat

{
  "Code": 200,
  "Message": "success",
  "RequestId": "57609587-DFA2-**********"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history