Removes IP addresses from an 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 Type Required Example Description
Action String Yes RemoveAccessControlListEntry

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

AclId String Yes acl-bp1l0kk4gxce43k****

The ID of the ACL.

RegionId String Yes cn-hangzhou

The ID of the region where the ACL is created.

You can call the DescribeRegions operation to query the region ID.

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

The IP addresses that you want to remove from the ACL.

  • entry: the IP address or CIDR block that you want to remove from the ACL. Separate multiple IP addresses or CIDR blocks with commas (,).
  • comment: the description of the ACL.
Note If the ACL is associated with a listener, you cannot remove all IP addresses from the 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
&AclId=acl-bp1l0kk4gxce43k******
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

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

JSON format

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

Error codes

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