Deleting a Load Balancer

Function

This API is used to delete a load balancer. If the load balancer is a public network load balancer, this API deletes the EIP bound to the load balancer.

Constraints

For a public network load balancer, you need to delete the backend ECSs added to all listeners of the load balancer before deleting it.

URI

DELETE /v1.0/{project_id}/elbaas/loadbalancers/{loadbalancer_id}

Table 1 Parameter description

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

loadbalancer_id

Yes

String

Specifies the load balancer ID.

Request

Response

Status Code