Deleting a Load Balancer
Function
This API is used to delete a specific load balancer.
Constraints
All listeners added to the load balancer must be deleted before the load balancer is deleted.
URI
DELETE /v2.0/lbaas/loadbalancers/{loadbalancer_id}
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| loadbalancer_id | Yes | String | Specifies the load balancer ID. |
| cascade | No | boolean | [Discarded] Specifies whether to delete the resources associated with the load balancer when the load balancer is deleted, including the listeners, backend server groups, and backend servers. |
Request
None
Response
None
Example Request
DELETE https://{endpoint}/v2.0/lbaas/loadbalancers/90f7c765-0bc9-47c4-8513-4cc0c264c8f8 Example Response
Example response
None
Status Code
For details, see HTTP Status Codes of Shared Load Balancers.
Last Article: Updating a Load Balancer
Next Article: Listener
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.