Grants a Resource Access Management (RAM) user the permissions on a specified application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:AuthorizeApplication |
none |
*All Resource
|
None | None |
Request syntax
POST /pop/v5/account/authorize_app HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TargetUserId |
string |
Yes |
The ID of the RAM user to be authorized. The value of the parameter is in the |
test@133434434**** |
| AppIds |
string |
Yes |
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 elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
The HTTP status code that is returned. |
200 |
| Message |
string |
The additional information that is returned. |
success |
| RequestId |
string |
The ID of the request. |
E3DA95D3-********** |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success",
"RequestId": "E3DA95D3-**********"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.