Delete CLB Instances

Last updated: 2019-11-29 18:51:00

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.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.
message String Module error message description depending on API.
codeDesc String Error code.
requestId Int Request task ID. The API is an asynchronous task.

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
}