Grants application permissions to a sub-account or RAM user.


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_app HTTP/1.1

Request parameters

Parameter Type Position Required Example Description
AppIds String Query Yes 5fdf50e8-*****;696-******

The ID of the application. Separate application IDs with semicolons (;). If you set the value to null, you revoke the application permissions.

TargetUserId String Query Yes test@133434434****

The ID of the sub-account or RAM user that you want to grant permissions. Set the value in the following format: Sub-account name or RAM user@Alibaba Cloud account.

Response parameters

Parameter Type Example Description
Code Integer 200

The HTTP status code.

Message String success

The additional information.

RequestId String E3DA95D3-**********

The ID of the request. Each request has a unique ID.


Sample requests

POST /pop/v5/account/authorize_app HTTP/1.1
Common request parameters
  "TargetUserId": ""

Sample success responses

XML format


JSON format

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

Error codes

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