Delete an IP or IP address range from the access whitelist of the specified listener.

Request parameters

Name Type Required Description
Action String Yes The action to perform.  Valid value:


RegionId String Yes The ID of the region where the SLB instance is located.

You can obtain the region ID by calling the DescribeRegions API.

LoadBalancerId String Yes The ID of the Server Load Balancer instance.
Listenerport Integer Yes The front-end port of the listener that is used to receive incoming traffic and distribute the traffic to the backend servers.

Valid value: 1-65535

SourceItems String Yes The access whitelist of the IP addresses or an IP address range to be allowed to access the listener.

Separate multiple IP addresses or IP address ranges using commas (,).

The IP address or the IP address range are not allowed. To disable access control, call the SetListenerAccessControlStatus API and set the value of the AccessControlStatus parameter to close.

Note If all the IP addresses are deleted, the listener will no longer forward any requests.

Response parameters

Name Type Description
RequestId String The ID of the request.


Request example

Response example

  • XML format
    <? xml version="1.0" encoding="UTF-8"? >
  • JSON format
      "RequestId":" CEF72CEB-54B6-4AE8-B225-F876FF7BA984"