Delete CLB Listener

Last updated: 2019-11-29 18:58:13

    API Description

    This API (DeleteLoadBalancerListeners) is used to delete one or more listeners of a load balancer instance.

    Domain name for API access: lb.api.qcloud.com

    Request Parameters

    The following request parameter list only provides the API request parameters. Common request parameters are required when the API is called.The Action field for this API is DeleteLoadBalancerListeners.

    Parameter Name Required Type Description
    loadBalancerId Yes String ID of the load balancer instance, which can be queried via the API DescribeLoadBalancers.
    listenerIds.n Yes String ID of the load balancer listener to delete, which can be queried via the API DescribeLoadBalancerListeners.

    Response Parameters

    Parameter Name Type Description
    code Int Common error code; 0: Successful; other values: Failed.
    message String Module error message description depending on API.
    codeDesc String Error code. For a successful operation, "Success" is returned. For a failed operation, a message describing the failure is returned.
    requestId Int Request task ID.

    Example

    Request

    https://lb.api.qcloud.com/v2/index.php?Action=DeleteLoadBalancerListeners
    &<Common request parameters>
    &loadBalancerId=lb-abcdefgh
    &listenerIds.0=lbl-rbuzrm5d
    

    Response

    {
        "code" : 0,
        "message" : "",
        "codeDesc": "Success",
        "requestId" : 1234
    }

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help