Querying Details of an Access Control Policy
Function
This API is used to query the details of a specified access control policy.
URI
The following table lists the HTTP/HTTPS request method and URI of the API.
Request Method |
URI |
---|---|
GET |
/v1.0/apigw/acls/{id} |
The following table lists the parameter in the URI.
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
id |
Yes |
String |
Access control policy ID |
Request
N/A
Response
Parameter |
Type |
Description |
---|---|---|
id |
String |
Access control policy ID |
acl_name |
String |
Access control policy name |
acl_type |
String |
Access control type, which can be:
|
acl_value |
String |
Access control objects |
entity_type |
String |
Object type, which can be:
|
update_time |
Timestamp |
Time when the access control policy was last updated |
Example response:
{ "id": "d402b35e-1054-4280-b1c5-0d741a28c995", "acl_name": "goodone", "entity_type": "DOMAIN", "acl_type": "PERMIT", "acl_value": "19asdfaf-adfadf", "update_time": "2017-11-18T14:27:36.918578+08:00" }
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
400 |
Bad Request |
403 |
Forbidden |
404 |
Not Found |
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