GetApplication
Retrieves the details of a specified EIAM application.
Operation description
Before you delete a specified EIAM application, make sure that the application is no longer in use. After the application is deleted, all configuration data is permanently removed and cannot be recovered.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eiam:GetApplication |
get |
*Application
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| ApplicationId |
string |
Yes |
The application ID. |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| Application |
object |
The returned application information. |
|
| ApiInvokeStatus |
string |
The Developer API feature status of the application. Valid values:
|
disabled |
| ApplicationVisibility |
array |
The application visibility. |
|
|
string |
The application visibility. |
[web] |
|
| ApplicationId |
string |
The application ID. |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
| ApplicationName |
string |
The application name. |
SAML Application |
| ApplicationSourceType |
string |
The source from which the application was created. Valid values:
|
urn:alibaba:idaas:app:source:template |
| ApplicationTemplateId |
string |
The application template ID associated during creation. This value is returned only when the application was created from an application template. |
apt_rpa_tdsxxx |
| AuthorizationType |
string |
The access authorization type of the application. Valid values:
|
authorize_required |
| ClientId |
string |
The client ID of the application. |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
| CreateTime |
integer |
The time when the application was created, in UNIX timestamp format. Unit: milliseconds. |
1649830226000 |
| Description |
string |
The application description. |
An application for the test environment |
| Features |
string |
The features supported by the application, returned as a JSON array string. Valid values:
|
["sso", "provision"] |
| InstanceId |
string |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| LogoUrl |
string |
The URL of the application logo. |
https://img.alicdn.com/imgextra/i4/O1CN01lvYwpv1aGowQXDML9_!!6000000003303-0-tps-580-580.jpg |
| ManagedServiceCode |
string |
The ServiceCode of the cloud service that manages the application template. |
rpa |
| ServiceManaged |
boolean |
Indicates whether the application template is managed by a cloud service. |
true |
| SsoType |
string |
The single sign-on protocol. Valid values:
|
saml2 |
| Status |
string |
The application status. Valid values:
|
enabled |
| UpdateTime |
integer |
The time when the application was last updated, in UNIX timestamp format. Unit: milliseconds. |
1649830226000 |
| M2MClientStatus |
string |
The M2MClient status. |
enabled |
| ResourceServerStatus |
string |
The ResourceServer status. |
enabled |
| ResourceServerIdentifier |
string |
The unique identifier of the ResourceServer, corresponding to the ResourceServer audience. |
https://www.example.com |
| CustomSubjectStatus |
string |
Indicates whether the custom Subject field in the token is enabled. After this feature is enabled, the issued Access Token changes from |
enabled |
| ApplicationCreationType |
string |
The application creation type. Valid values:
|
user_custom |
| ResourceServerSourceType |
string |
The resource server source type. Valid values:
|
urn:cloud:idaas:resourceserver:source:custom |
| ApplicationIdentityType |
string |
The application identity type. Valid values:
Valid values:
|
application |
| CustomFields |
array<object> |
The list of application custom fields. |
|
|
object |
The application custom field. |
||
| FieldName |
string |
The identifier of the application custom field. Valid values:
|
agent_source_id |
| FieldValue |
string |
The value of the application custom field. When FieldName is set to agentType, valid values are bailian, pai, dify, and volcano. When FieldName is set to agentExternalId, enter the corresponding value. |
38899 |
| ApplicationOwner |
object |
The application owner. |
|
| UserIds |
array |
The list of user IDs. |
|
|
string |
The user ID. |
user_sdsadexxx |
|
| GroupIds |
array |
The list of group scopes for synchronization authorization. |
|
|
string |
The list of group scopes for synchronization authorization. |
group_t4jbkfsv4rlm6yoyiqo3xcehgmqwe |
|
| SmartConfigCapabilities |
array |
The list of capabilities configured through smart configuration. |
|
|
string |
The capability configured through smart configuration. |
sso |
Examples
Success response
JSON format
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"Application": {
"ApiInvokeStatus": "disabled",
"ApplicationVisibility": [
"[web]"
],
"ApplicationId": "app_mkv7rgt4d7i4u7zqtzev2mxxxx",
"ApplicationName": "SAML 应用",
"ApplicationSourceType": "urn:alibaba:idaas:app:source:template",
"ApplicationTemplateId": "apt_rpa_tdsxxx",
"AuthorizationType": "authorize_required",
"ClientId": "app_mkv7rgt4d7i4u7zqtzev2mxxxx",
"CreateTime": 1649830226000,
"Description": "某个应用,测试环境使用",
"Features": "[\"sso\", \"provision\"]",
"InstanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
"LogoUrl": "https://img.alicdn.com/imgextra/i4/O1CN01lvYwpv1aGowQXDML9_!!6000000003303-0-tps-580-580.jpg",
"ManagedServiceCode": "rpa",
"ServiceManaged": true,
"SsoType": "saml2",
"Status": "enabled",
"UpdateTime": 1649830226000,
"M2MClientStatus": "enabled",
"ResourceServerStatus": "enabled",
"ResourceServerIdentifier": "https://www.example.com",
"CustomSubjectStatus": "enabled",
"ApplicationCreationType": "user_custom",
"ResourceServerSourceType": "urn:cloud:idaas:resourceserver:source:custom",
"ApplicationIdentityType": "application",
"CustomFields": [
{
"FieldName": "agent_source_id",
"FieldValue": "38899"
}
],
"ApplicationOwner": {
"UserIds": [
"user_sdsadexxx"
],
"GroupIds": [
"group_t4jbkfsv4rlm6yoyiqo3xcehgmqwe"
]
},
"SmartConfigCapabilities": [
"sso"
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.