Delete the Forwarding Rules of Application CLB layer-7 Listener

Last updated: 2019-12-14 14:49:18

    1. API Description

    API DeleteForwardLBListenerRules is used to delete the rules of application-based cloud load balancer instance listener.

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

    2. Request Parameters

    The following request parameter list only provides API request parameters. Common request parameters need to be added when the API is called. For more information, refer to Common Request Parameters. The Action field for this API is DeleteForwardLBListenerRules.

    Parameter Name Required Type Description
    loadBalancerId Yes String ID of cloud load balancer instance, i.e. unLoadBalancerId, which can be queried by entering 1 or -1 in input parameter "forward" field through API DescribeLoadBalancers.
    listenerId Yes String ID of application-based cloud load balancer listener, which can be queried through API DescribeForwardLBListeners.
    locationIds.n No String ID for the forwarding rules of application-based cloud load balancer listener. It can be queried through API DescribeForwardLBListeners.
    domain No String Domain for the forwarding rules of application-based cloud load balancer listener.
    url No String Path for the forwarding rules of application-based cloud load balancer listener.

    3. Response Parameters

    Parameter Name Type Description
    code Int Common error code; 0: Succeeded; other values: Failed. For more information, please refer to Common Error Code in the Error Code page.
    message String Module error message description depending on API.
    codeDesc String Error code. For a successful operation, "Success" will be returned. For a failed operation, a message describing the failure will be returned.
    requestId Int Request task ID. The operation status can be queried through API DescribeLoadBalancersTaskResult.

    4. Example

    Input

    https://lb.api.qcloud.com/v2/index.php?Action=DeleteForwardLBListenerRules
    &<Common request parameters>
    &loadBalancerId=lb-6efswuxa
    &listenerId=lbl-20cxbf40
    &locationIds.0=loc-mpoupana

    Output

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

    Was this page helpful?

    Was this page helpful?

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