Modifies the name of a network access control list (ACL).

Debugging

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 Item Required Example Description
Action String Yes SetAccessControlListAttribute

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

RegionId String Yes cn-hangzhou

The ID of the region where the network ACL is created.

You can call the DescribeRegions operation to query the most recent region list.

AclId String Yes acl-bp1l0kk4gxce43kze****

The ID of the network ACL.

AclName String Yes test

The new name of the network ACL. The name must be 1 to 80 characters in length, and can contain only letters, digits, periods (.), hyphens (-), forward slashes (/), and underscores (_). The name of the network ACL must be unique within each region.

Response parameters

Parameter Item Example Description
RequestId String 988CB45E-1643-48C0-87B4-928DDF77EA49

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=SetAccessControlListAttribute
&RegionId=cn-hangzhou
&AclId=acl-bp1l0kk4gxce43kze****
&AclName=test
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<SetAccessControlListAttributeResponse>
    <RequestId>988CB45E-1643-48C0-87B4-928DDF77EA49</RequestId>
</SetAccessControlListAttributeResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "988CB45E-1643-48C0-87B4-928DDF77EA49"
}

Error codes

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