Installs an external application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:ProvisionExternalApplication |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The ID of the application. |
403550611646604**** |
| 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. |
55535873-9A6B-5C87-853F-C7CD258826F2 |
| ExternalApplication |
object |
The information about the external application. |
|
| DisplayName |
string |
The display name of the application. |
GiteeAliyun |
| UpdateDate |
string |
The update time. The value is a timestamp. |
1603693518000 |
| DelegatedScope |
object |
The information about the scopes of permissions that are granted to the application. |
|
| PredefinedScopes |
object |
||
| PredefinedScope |
array<object> |
The information about the scopes of permissions that are granted to the application. |
|
|
object |
|||
| Description |
string |
The description of the permission scope. |
用于获取用户的OpenID(默认权限范围,不可移除) |
| Name |
string |
The name of the permission scope. |
openid |
| 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 to which the external application belongs. |
157242285274**** |
| ForeignAppId |
string |
The ID of the application. |
403550611646604**** |
Examples
Success response
JSON format
{
"RequestId": "55535873-9A6B-5C87-853F-C7CD258826F2",
"ExternalApplication": {
"DisplayName": "GiteeAliyun\n",
"UpdateDate": "1603693518000",
"DelegatedScope": {
"PredefinedScopes": {
"PredefinedScope": [
{
"Description": "用于获取用户的OpenID(默认权限范围,不可移除)",
"Name": "openid"
}
]
}
},
"AppPrincipalName": "GiteePrd@app.177242285274****.onaliyun.com\n",
"CreateDate": "1603693518000",
"TenantId": "157242285274****",
"ForeignAppId": "403550611646604****"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.