All Products
Search
Document Center

Identity as a Service:ListApplications

Last Updated:Dec 17, 2024

Queries the information about one or multiple Employee Identity and Access Management (EIAM) applications by page.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
eiam:ListApplicationslist
*Application
acs:eiam:{#regionId}:{#accountId}:instance/{#InstanceId}/application/*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
InstanceIdstringYes

The ID of the instance.

idaas_ue2jvisn35ea5lmthk267xxxxx
PageNumberlongNo

The number of the page to return.

1
PageSizelongNo

The number of entries to return on each page.

20
ApplicationIdsarrayNo

The IDs of the applications.

stringNo

The ID of the application that you want to query.

app_mkv7rgt4d7i4u7zqtzev2mxxxx
ApplicationNamestringNo

The name of the application. Only fuzzy match from the leftmost character is supported.

Ram Account SSO
AuthorizationTypestringNo

The authorization of the application. Valid values:

  • authorize_required: Only the user with explicit authorization can access the application.
  • default_all: By default, all users can access the application.
authorize_required
StatusstringNo

The status of the application. Valid values:

  • Enabled: The application is enabled.
  • Disabled: The application is disabled.
enabled

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

0441BD79-92F3-53AA-8657-F8CE4A2B912A
TotalCountlong

The total number of the returned entries.

100
Applicationsarray<object>

The details of the applications.

Applicationobject

The details of the application.

InstanceIdstring

The ID of the instance.

idaas_ue2jvisn35ea5lmthk267xxxxx
ApplicationIdstring

The ID of the application.

app_mkv7rgt4d7i4u7zqtzev2mxxxx
ClientIdstring

The client ID of the application.

app_mkv7rgt4d7i4u7zqtzev2mxxxx
LogoUrlstring

The URL of the application icon.

https://img.alicdn.com/imgextra/i4/O1CN01lvYwpv1aGowQXDML9_!!6000000003303-0-tps-580-580.jpg
ApplicationNamestring

The name of the application.

SAML Application
Descriptionstring

The description of the application.

A single application. The code is pkces.
SsoTypestring

The type of the single sign-on (SSO) protocol. Valid values:

  • saml2: the Security Assertion Markup Language (SAML) 2.0 protocol.
  • oidc: the OpenID Connect (OIDC) protocol.
saml2
ApplicationSourceTypestring

The origin of the application. Valid values:

  • urn:alibaba:idaas:app:source:template: The application is created based on a template.
  • urn:alibaba:idaas: The application is created based on the standard protocol.
urn:alibaba:idaas:app:source:standard
Featuresstring

The features that are supported by the application. The value is a JSON array. Valid values:

  • sso: The application supports SSO.
  • provision: The application supports account synchronization.
  • api_invoke: The application supports custom APIs.
["sso", "provision"]
Statusstring

The status of the application. Valid values:

  • Enabled: The application is enabled.
  • Disabled: The application is disabled.
enabled
CreateTimelong

The time when the application was created. The value is a UNIX timestamp. Unit: milliseconds.

1649830226000
UpdateTimelong

The time when the application was last updated. The value is a UNIX timestamp. Unit: milliseconds.

1649830226000
ServiceManagedboolean

Indicates whether the application template is managed by a cloud service.

true
ManagedServiceCodestring

The service code of the cloud service that manages the application template.

rpa

Examples

Sample success responses

JSONformat

{
  "RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
  "TotalCount": 100,
  "Applications": [
    {
      "InstanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
      "ApplicationId": "app_mkv7rgt4d7i4u7zqtzev2mxxxx",
      "ClientId": "app_mkv7rgt4d7i4u7zqtzev2mxxxx",
      "LogoUrl": "https://img.alicdn.com/imgextra/i4/O1CN01lvYwpv1aGowQXDML9_!!6000000003303-0-tps-580-580.jpg",
      "ApplicationName": "SAML Application\n",
      "Description": "A single application. The code is pkces.\n",
      "SsoType": "saml2",
      "ApplicationSourceType": "urn:alibaba:idaas:app:source:standard",
      "Features": "[\"sso\", \"provision\"]",
      "Status": "enabled",
      "CreateTime": 1649830226000,
      "UpdateTime": 1649830226000,
      "ServiceManaged": true,
      "ManagedServiceCode": "rpa"
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-01-02The response structure of the API has changedView Change Details