Help Center/ Application Operations Management/ API Reference/ APIs/ Configuration Management/ Querying the Cloud Services for Which AOM 2.0 Has Been Granted Permissions
Updated on 2026-10-22 GMT+08:00

Querying the Cloud Services for Which AOM 2.0 Has Been Granted Permissions

Function

This API is used to query the cloud services for which AOM 2.0 has been granted permissions.

Calling Method

For details, see Calling APIs.

Authorization Information

Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.

  • If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
  • If you are using identity policy-based authorization, the following identity policy-based permissions are required.

    Action

    Access Level

    Resource Type (*: required)

    Condition Key

    Alias

    Dependencies

    aom:agency:get

    Read

    -

    -

    -

    -

URI

GET /v1/{project_id}/aom/auth/grant

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID obtained from IAM. Generally, a project ID contains 32 characters.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token obtained from IAM.

Content-Type

Yes

String

Content type, which is application/json.

Response Parameters

Status code: 200

None

Example Requests

Query the cloud services for which AOM 2.0 has been granted permissions.

https://{Endpoint}/v1/{project_id}/aom/auth/grant

Example Responses

Status code: 200

{
  "CES" : {
    "role_name" : [ "CES ReadOnlyAccess" ],
    "status" : true
  },
  "ECS" : {
    "role_name" : [ "ECS CommonOperations", "ECS ReadOnlyAccess" ],
    "status" : true
  },
  "CCE" : {
    "role_name" : [ "CCE FullAccess" ],
    "status" : true
  },
  "CCI" : {
    "role_name" : [ "CCI FullAccess" ],
    "status" : true
  },
  "RMS" : {
    "role_name" : [ "RMS ReadOnlyAccess" ],
    "status" : true
  },
  "LTS" : {
    "role_name" : [ "LTS FullAccess" ],
    "status" : true
  },
  "DMS" : {
    "role_name" : [ "DMS UserAccess" ],
    "status" : true
  }
}

Status Codes

Status Code

Description

200

OK: The request is successful.

Error Codes

See Error Codes.