Stop a listener.

Note the following when calling this API:

  • After the API is successfully called, the listener changes to the stopped status.
  • If the status of the Server Load Balancer instance to which the listener belongs is locked, the API cannot be called.

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

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"