Deleting a Load Balancer
Function
This API is used to delete a load balancer by ID.
Constraints
When you set cascade to false, you must delete the resources associated with the load balancer before attempting to delete it.
URI
DELETE /v2/{project_id}/elb/loadbalancers/{loadbalancer_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Specifies the project ID. |
loadbalancer_id |
Yes |
String |
Specifies the load balancer ID. |
cascade |
No |
boolean |
Specifies whether to delete the resources associated with the load balancer when it is deleted, including the listeners, backend server groups, and backend servers. |
Request
None
Response
None
Example Request
- Example request
DELETE https://{Endpoint}/v2/145483a5107745e9b3d80f956713e6a3/elb/loadbalancers/90f7c765-0bc9-47c4-8513-4cc0c264c8f8
Status Code
For details, see Status Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot