Call the DeleteLoadBalancer API to delete a Pay-As-You-Go SLB instance.

Note When you delete a Pay-As-You-Go SLB instance, all associated configurations (such as listeners or tags) are deleted at the same time.


Click here to perform a debug operation in OpenAPI Explorer and automatically generate an SDK code example.

Request parameters

Parameter Type Required? Example value Description
Action String Yes DeleteLoadBalancer

The action to perform. Valid value: DeleteLoadBalancer

LoadBalancerId String Yes lb-bp1h66tp5uat84khmqc9e

The ID of the SLB instance

RegionId String Yes cn-hangzhou

The region to which the SLB instance belongs.

You can query the region ID by calling the DescribeRegions API.

Response parameters

Parameter Type Example value Description
RequestId String CEF72CEB-54B6-4AE8-B225-F876FF7BA984

The ID of the request


Request example

/? Action=DeleteLoadBalancer

Normal response examples

XML format


JSON format


Error codes

HttpCode Error code Error message Description
400 Operation.NotAllowed Operation Denied. Unfinished order exists. The operation is not allowed. An unfinished purchase order exists.

Click here to view the error codes.