All Products
Search
Document Center

Enterprise Distributed Application Service:AuthorizeApplication

Last Updated:Mar 01, 2024

Grants a Resource Access Management (RAM) user the permissions on a specified application.

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_app

DELETE /pop/v5/account/authorize_app

PUT /pop/v5/account/authorize_app

Request parameters

ParameterTypeRequiredDescriptionExample
TargetUserIdstringYes

The ID of the RAM user to be authorized. The value of the parameter is in the sub-account name@primary account UID format.

test@133434434****
AppIdsstringYes

The ID of the application. You can specify multiple IDs. Separate multiple IDs with semicolons (;). If you leave this parameter empty, the permissions on the application are revoked.

5fdf50e8-*****;696-******

Response parameters

ParameterTypeDescriptionExample
object
Codeinteger

The HTTP status code that is returned.

200
Messagestring

The additional information that is returned.

success
RequestIdstring

The ID of the request.

E3DA95D3-**********

Examples

Sample success responses

JSONformat

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

Error codes

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

Change history

Change timeSummary of changesOperation
No change history