Installs an application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:ProvisionApplication |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The ID of the application. |
407426893752729**** |
| Scopes |
string |
No |
The permissions that are granted to the application. Separate multiple permissions with a semicolon (;). Note
For more information about the supported permissions, see Overview. |
openid;aliuid |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
C8AE06ED-9593-5BF9-8D4A-68D5DDCC90AB |
| ApplicationProvisionInfo |
object |
The installation information of the application. |
|
| DisplayName |
string |
The display name of the application. |
GiteeAliyun |
| AppName |
string |
The name of the application. |
GiteePrd |
| UpdateDate |
string |
The update time. The value is a timestamp. |
1603693518000 |
| AppId |
string |
The ID of the application. |
452392483381546**** |
| DelegatedScope |
object |
The information about the permissions that are granted to the application. |
|
| PredefinedScopes |
object |
||
| PredefinedScope |
array<object> |
The information about the permissions that are granted to the application. |
|
|
object |
|||
| Description |
string |
The description of the permission. |
用于获取用户的OpenID(默认权限范围,不可移除) |
| Name |
string |
The name of the permission. |
openid |
| AccountId |
string |
The ID of the Alibaba Cloud account. |
177242285274**** |
| AppPrincipalName |
string |
The name of the application principal. The value is in the |
GiteePrd@app.177242285274****.onaliyun.com |
| CreateDate |
string |
The time when the application was installed. The value is a timestamp. |
1603693518000 |
| TenantId |
string |
The ID of the Alibaba Cloud account for which the application was installed. |
177242285274**** |
Examples
Success response
JSON format
{
"RequestId": "C8AE06ED-9593-5BF9-8D4A-68D5DDCC90AB",
"ApplicationProvisionInfo": {
"DisplayName": "GiteeAliyun",
"AppName": "GiteePrd",
"UpdateDate": "1603693518000",
"AppId": "452392483381546****",
"DelegatedScope": {
"PredefinedScopes": {
"PredefinedScope": [
{
"Description": "用于获取用户的OpenID(默认权限范围,不可移除)",
"Name": "openid"
}
]
}
},
"AccountId": "177242285274****",
"AppPrincipalName": "GiteePrd@app.177242285274****.onaliyun.com",
"CreateDate": "1603693518000",
"TenantId": "177242285274****"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.