Help Center/ Application Operations Management/ API Reference/ APIs/ Configuration Management/ Querying the Cloud Services for Which AOM 2.0 Has Been Granted Permissions

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

Updated on 2025-01-07 GMT+08:00

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.

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

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

OK: The request is successful.

{
  "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.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback