Help & DocumentationAPIsCloud Load BalancerApplication CLB APIsForwarding Rule Related APIDelete the Forwarding Rules of Application CLB layer-7 Listener

Delete the Forwarding Rules of Application CLB layer-7 Listener

Last updated: 2018-06-25 15:47:40

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
}