tencent cloud

Application Load Balancer

DeleteLoadBalancers

Download
Focus Mode
Font Size
Last updated: 2026-09-28 15:07:38

1. API Description

Domain name for API request: alb.intl.tencentcloudapi.com.

The DeleteLoadBalancers API is an async API. The system returns a request ID, but the application CLB instance is not yet deleted successfully. The deletion task is still in progress in the system backend. You can call DescribeLoadBalancerDetail to query the deletion status of the application CLB instance.

  • When an application CLB instance is in the Deleting status, it means the application CLB instance is being deleted.
    -If the specified application CLB instance cannot be queried, the application CLB instance has been deleted successfully.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DeleteLoadBalancers.
Version Yes String Common Params. The value used for this API: 2025-10-30.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.
LoadBalancerIds.N Yes Array of String List of Cloud Load Balancer instance IDs. The format is alb- followed by 8 alphanumeric characters.
ClientToken No String Client Token, used for ensuring the idempotency of requests.

Generate a parameter value from your client to underwrite the uniqueness of the value for different requests. ClientToken supports only ASCII characters.

DryRun No Boolean Whether to only precheck this request. Parameter value:

- true: Send a check request. The CLB instance will not be deleted. Check items include whether required parameters are filled in, request format, and service limits. If a check fails, return the corresponding error. If all checks pass, return the error code DryRunOperation.

- false (default value): Send a normal request, return HTTP 2xx status code after check, and directly perform the operation.

3. Output Parameters

Parameter Name Type Description
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Delete an instance

Input Example

POST / HTTP/1.1
Host: alb.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DeleteLoadBalancers
<Common request parameters>

{
    "LoadBalancerIds": [
        "alb-f8q2xk9m"
    ]
}

Output Example

{
    "Response": {
        "RequestId": "a458011e-dc04-43bd-9851-3cc2276fb6fb"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
MissingParameter Parameters are missing.
ResourceInUse.LoadBalancerHasListeners A listener still exists under the instance, so it cannot be deleted.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback