Creates an application assignment record to grant a specified principal the permissions to use a specified application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:CreateApplicationAssignment |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The application ID. |
472457090344041**** |
| PrincipalName |
string |
Yes |
The principal name of the RAM user or the role name.
|
user@example.onaliyun.com |
| PrincipalType |
string |
Yes |
The type of the target principal for the application assignment. Valid values:
|
user |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
4507D1CD-526A-4E2B-A1E2-3AB045D1EE0B |
Examples
Success response
JSON format
{
"RequestId": "4507D1CD-526A-4E2B-A1E2-3AB045D1EE0B"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.