Delete CLB Instances

Last updated: 2018-06-01 16:40:52

PDF

Unless otherwise specified, the returned values of each request contain the following fields:

API Description

This API (DeleteLoadBalancers) is used to delete one or more load balancer instances specified by users.
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. For more information, please see Common Request Parameters page. The Action field for this API is DeleteLoadBalancers.

Parameter Name Required Type Description
loadBalancerIds.n Yes String ID of the load balancer instance, which can be queried via the API DescribeLoadBalancers.

Response Parameters

Parameter Name Type Description
code Int Common error code; 0: Successful; other values: Failed. For more information, please see Common Error Codes on the Error Codes page.
message String Module error message description depending on API.
codeDesc String Error code.
requestId Int Request task ID. The API is an asynchronous task. DescribeLoadBalancersTaskResult is used to query the result of task execution.

Example

Request


https://lb.api.qcloud.com/v2/index.php?Action=DeleteLoadBalancers
&<Common request parameters>
&loadBalancerIds.0=lb-abcdefgh

Response

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