ListApplications

Updated at:

Queries the information of one or more EIAM applications by using paging.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

eiam:ListApplications

list

*Application

acs:eiam:{#regionId}:{#accountId}:instance/{#InstanceId}/application/*

None None

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

The instance ID.

idaas_ue2jvisn35ea5lmthk267xxxxx

PageNumber

integer

No

The page number.

1

PageSize

integer

No

The number of entries per page.

20

ApplicationIds

array

No

The application IDs.

["Ram Account SSO"]

string

No

The application ID.

app_mkv7rgt4d7i4u7zqtzev2mxxxx

ApplicationName

string

No

The application name. Only left-fuzzy matching is supported.

Ram Account SSO

AuthorizationType

string

No

The access authorization type of the application. Valid values:

  • authorize_required: Explicit authorization is required for access.

  • default_all: All members have access permissions by default.

Valid values:

  • authorize_required :

    Explicit authorization is required for access.

  • default_all :

    All members have access permissions by default.

authorize_required

Status

string

No

The application status. Valid values:

  • enabled: Enabled.

  • disabled: Disabled.

Valid values:

  • disabled :

    Disabled.

  • enabled :

    Enabled.

enabled

M2MClientStatus

string

No

Specifies whether the M2M client identity is enabled.

enabled

ResourceServerStatus

string

No

Specifies whether the resource server capability is enabled.

enabled

SsoType

string

No

The SSO type search condition. You can specify multiple types separated by commas (,). Example: oauth2/m2m,oidc+oauth2/m2m.

Valid values:

  • oauth2/m2m :

    oauth2/m2m

  • saml2 :

    saml2

  • oidc :

    oidc

  • oidc+oauth2/m2m :

    oidc+oauth2/m2m

oauth2/m2m

ApplicationCreationType

string

No

The application creation type. If this parameter is left empty, applications of the user_custom type are queried by default. To query applications of all types, set this parameter to all.

Valid values:

  • system_init :

    Created by the system.

  • user_custom :

    Created by the user.

system_init

ApplicationIdentityType

string

No

The application identity type. If this parameter is left empty, applications of the application type are queried by default. To query applications of all identity types, set this parameter to all.

Valid values:

  • all :

    all

  • agent :

    Agent.

  • application :

    Application.

application

ApplicationTemplateId

string

No

The application template ID.

apt_ramuser_xxxx

CustomFields

array<object>

No

The extended fields.

object

No

The extended field object.

FieldName

string

No

The extended field identifier. Valid values:

  • agent_type: The agent type.

agent_type

FieldValue

string

No

The extended field value.

x-claw

ServiceManaged

boolean

No

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

true

ManagedServiceCode

string

No

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

waf

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

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

TotalCount

integer

The total number of items in the list.

100

Applications

array<object>

The list of application information.

object

The application information.

InstanceId

string

The instance ID.

idaas_ue2jvisn35ea5lmthk267xxxxx

ApplicationId

string

The application ID.

app_mkv7rgt4d7i4u7zqtzev2mxxxx

ClientId

string

The client ID of the application.

app_mkv7rgt4d7i4u7zqtzev2mxxxx

LogoUrl

string

The URL of the application logo.

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

ApplicationName

string

The name of the application.

SAML Application

Description

string

The description of the application.

A test application

SsoType

string

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

  • saml2: SAML 2.0 protocol

  • oidc: OpenID Connect protocol

  • oauth2/m2m: OAuth 2.0 protocol

  • oidc+oauth2/m2m: OpenID Connect and OAuth 2.0 protocols

saml2

ApplicationSourceType

string

The source from which the application is created. Valid values:

  • urn:alibaba:idaas:app:source:template: application template

  • urn:alibaba:idaas:app:source:standard: standard protocol

urn:alibaba:idaas:app:source:standard

Features

string

The features supported by the application, returned as a JSON array string. Valid values:

  • sso: single sign-on

  • slo: single logout

  • provision: account synchronization

  • api_invoke: API publication

  • m2m_client: M2M client

  • resource_server: resource server

  • other: other

["sso", "provision"]

Status

string

The status of the application. Valid values:

  • enabled: enabled

  • disabled: disabled

  • deleted: soft deleted

enabled

CreateTime

integer

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

1649830226000

UpdateTime

integer

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

1649830226000

ServiceManaged

boolean

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

true

ManagedServiceCode

string

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

rpa

ApplicationTemplateId

string

The ID of the application template.

apt_xxx_xxx

ApplicationCreationType

string

The creation type of the application.

Valid values:

  • system_init :

    Created by the system.

  • user_custom :

    Created by the user.

user_custom

ResourceServerStatus

string

The status of the resource server.

enabled

ResourceServerIdentifier

string

The unique identifier of the resource server.

https://example.com

ResourceServerSourceType

string

The source type of the resource server.

Valid values:

  • urn:cloud:idaas:resourceserver:source:custom :

    Custom.

  • urn:cloud:idaas:resourceserver:source:system :

    System.

urn:cloud:idaas:resourceserver:source:custom

ApplicationIdentityType

string

The identity type of the application.

Valid values:

  • agent :

    Agent.

  • application :

    Application.

application

Examples

Success response

JSON format

{
  "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",
      "Description": "A test application",
      "SsoType": "saml2",
      "ApplicationSourceType": "urn:alibaba:idaas:app:source:standard",
      "Features": "[\"sso\", \"provision\"]",
      "Status": "enabled",
      "CreateTime": 1649830226000,
      "UpdateTime": 1649830226000,
      "ServiceManaged": true,
      "ManagedServiceCode": "rpa",
      "ApplicationTemplateId": "apt_xxx_xxx",
      "ApplicationCreationType": "user_custom",
      "ResourceServerStatus": "enabled",
      "ResourceServerIdentifier": "https://example.com",
      "ResourceServerSourceType": "urn:cloud:idaas:resourceserver:source:custom",
      "ApplicationIdentityType": "application"
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.