Removes IP entries from the network access control list (ACL) of a Classic Load Balancer (CLB) instance.

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 Type Required Example Description
Action String Yes RemoveAccessControlListEntry

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

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-bp1l0kk4gxce43k******

The ID of the network ACL.

AclEntrys String No [{"entry":"10.0.10.0/24","comment":"privaterule1"}]

The IP entries that you want to remove from the network ACL. Valid values:

  • entry: the IP address or CIDR block that you want to remove from the network ACL. Separate multiple IP addresses or CIDR blocks with commas (,).
  • comment: the description of the network ACL.
Note If the network ACL is associated with a listener, you cannot remove all IP addresses from the network ACL.

Response parameters

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

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=RemoveAccessControlListEntry
&RegionId=cn-hangzhou
&AclId=acl-bp1l0kk4gxce43k******
&AclEntrys=[{"entry":"10.0.10.0/24","comment":"privaterule1"}]
&Common request parameters

Sample success response

XML format

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

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

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.