Queries access control lists (ACLs) in a specified region.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeACLs

The operation that you want to perform. Set the value to DescribeACLs.

RegionId String Yes cn-shanghai

The ID of the region where the ACL is deployed.

AclIds String No acl-xhwhyuo43l*******

The ID of the ACL.

  • If you want to query multiple ACL instances at the same time, separate the ACL IDs with commas (,).
  • If you do not specify this parameter, all ACLs in the specified region are queried.
Name String No test

The name of the ACL.

The name must be 2 to 100 characters in length and can contain letters, digits, periods (.), underscores (_),and hyphens (-). The name must start with a letter.

PageSize Integer No 10

The number of entries to return on each page. Maximum value: 50. Default value: 10.

PageNumber Integer No 1

The number of the page to return. Default value: 1.

Response parameters

Parameter Type Example Description
TotalCount Integer 455

The total number of ACLs.

PageSize Integer 3

The number of entries returned per page.

RequestId String 660F303F-C88E-4026-BC6A-FC24B78FD7EA

The ID of the request.

PageNumber Integer 1

The page number of the returned page.

Acls Array of Acl

The list of ACLs.

SagCount String 0

The number of SAG instances associated with the ACL.

AclId String acl-ohlexqptfhy*******

The ID of the ACL.

Name String test

The name of the ACL.

ResourceGroupId String rg-acfm2iu4fnc****

The ID of the resource group to which the ACL belongs.


Sample requests

&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK


JSON format

HTTP/1.1 200 OK

  "TotalCount" : 455,
  "PageSize" : 3,
  "RequestId" : "660F303F-C88E-4026-BC6A-FC24B78FD7EA",
  "PageNumber" : 1,
  "Acls" : {
    "Acl" : [ {
      "SagCount" : 0,
      "ResourceGroupId" : "rg-acfm2iu4fnc****",
      "AclId" : "acl-rsds2pk8gxcqce****",
      "Name" : "http"
    }, {
      "SagCount" : 0,
      "ResourceGroupId" : "rg-acfm2iu4fnc****",
      "AclId" : "acl-o6yol7zowii5n2****",
      "Name" : "zxtest"
    }, {
      "SagCount" : 0,
      "ResourceGroupId" : "rg-acfm2iu4fnc****",
      "AclId" : "acl-cl8gkzvldyxayo****",
      "Name" : "test-name-bvt-te"
    } ]

Error codes

HttpCode Error code Error message Description
403 Forbidden User not authorized to operate on the specified resource. The error message returned because you do not have the permissions to manage the specified resource.
403 MissingParameter The input parameter is missing, please check your input. The error message returned because one or more required parameters are not set. Check whether you have set all required parameters.
403 InvalidParameter The specified parameter is invalid. The error message returned because a parameter is set to an invalid value.
403 InternalError An internal server error occurred. The error message returned because an internal server error has occurred.

For a list of error codes, visit the API Error Center.