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.
URI
GET /v1/{project_id}/aom/auth/grant
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID obtained from IAM. Generally, a project ID contains 32 characters. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token obtained from IAM. |
Content-Type |
No |
String |
Content type, which is application/json. |
Response Parameters
Status code: 200
OK: The request is successful.
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
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot