All Products
Search
Document Center

Resource Access Management:ListApplications

Last Updated:Sep 03, 2025

Lists the applications that you have created.

Operation description

This topic provides an example of how to query the applications in your Alibaba Cloud account. The response shows that only one application, named myapp, exists in the account.

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

ram:ListApplications

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

No parameters required.

For more information about common parameters, see Common parameters.

Response elements

Element

Type

Description

Example

object

The response that is returned.

RequestId

string

The request ID.

CE458B58-8C40-46F7-A9D4-CB85136B0C06

Applications

object

Application

array<object>

The application information.

object

The application information.

DisplayName

string

The display name of the application.

myapp

AccessTokenValidity

integer

The validity period of the access token. Unit: seconds.

3600

SecretRequired

boolean

Indicates whether an application secret is required.

true

AccountId

string

The ID of the Alibaba Cloud account to which the application belongs.

177242285274****

CreateDate

string

The time when the application was created.

2020-10-23T09:33:22Z

AppName

string

The name of the application.

myapp

RedirectUris

object

RedirectUri

array

The redirect URI.

string

The redirect URI.

https://www.example.com

UpdateDate

string

The time when the application was last updated.

2020-10-23T09:33:22Z

DelegatedScope

object

The permission scopes of the application.

PredefinedScopes

object

PredefinedScope

array<object>

The permission scopes of the application.

object

The permission scopes of the application.

Description

string

The description of the scope.

Obtain the OpenID of the user. This is the default permission that you cannot remove.

Name

string

The name of the scope.

openid

Required

boolean

Indicates whether this permission scope is required by default when the application is installed. Valid values:

  • true: The permission scope is required.

  • false: The permission scope is not required.

The openid scope is required by default.

true

AppId

string

The application ID.

441442900344560****

RefreshTokenValidity

integer

The validity period of the refresh token. Unit: seconds.

7776000

IsMultiTenant

boolean

Indicates whether the application can be installed by other accounts.

true

AppType

string

The application type. Valid values:

  • WebApp: a web application that runs in a browser.

  • NativeApp: a native application that runs on a desktop or mobile operating system.

  • ServerApp: an application that can directly access Alibaba Cloud services without logon credentials. This type of application is available only for user synchronization based on the System for Cross-domain Identity Management (SCIM) protocol.

WebApp

ProtocolVersion

string

The OAuth protocol version of the application. Valid values:

  • 2.0: OAuth 2.0

  • 2.1: OAuth 2.1

2.0

Examples

Success response

JSON format

{
  "RequestId": "CE458B58-8C40-46F7-A9D4-CB85136B0C06",
  "Applications": {
    "Application": [
      {
        "DisplayName": "myapp",
        "AccessTokenValidity": 3600,
        "SecretRequired": true,
        "AccountId": "177242285274****",
        "CreateDate": "2020-10-23T09:33:22Z",
        "AppName": "myapp",
        "RedirectUris": {
          "RedirectUri": [
            "https://www.example.com"
          ]
        },
        "UpdateDate": "2020-10-23T09:33:22Z",
        "DelegatedScope": {
          "PredefinedScopes": {
            "PredefinedScope": [
              {
                "Description": "Obtain the OpenID of the user. This is the default permission that you cannot remove.",
                "Name": "openid",
                "Required": true
              }
            ]
          }
        },
        "AppId": "441442900344560****",
        "RefreshTokenValidity": 7776000,
        "IsMultiTenant": true,
        "AppType": "WebApp",
        "ProtocolVersion": "2.0"
      }
    ]
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.