1
0
forked from docs/doc-exports
doc-exports/docs/elb/api-ref/DeleteLoadBalancer.html
zhoumeng 51dc9baefd elb_api_0420
Reviewed-by: Hajba, László Antal <laszlo-antal.hajba@t-systems.com>
Co-authored-by: zhoumeng <zhoumeng35@huawei.com>
Co-committed-by: zhoumeng <zhoumeng35@huawei.com>
2023-06-09 13:24:32 +00:00

4.8 KiB

Deleting a Load Balancer

Function

This API is used to delete a load balancer.

Constraints

All listeners added to the load balancer must be deleted before the load balancer is deleted.

URI

DELETE /v3/{project_id}/elb/loadbalancers/{loadbalancer_id}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

loadbalancer_id

Yes

String

Specifies the load balancer ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Specifies the token used for IAM authentication.

Response Parameters

None

Example Requests

Deleting a load balancer

DELETE https://{ELB_Endpoint}/v3/060576782980d5762f9ec014dd2f1148/elb/loadbalancers/32c1057f-74a1-42d6-9b20-d55b80ab89c4

Example Responses

None

Status Codes

Status Code

Description

204

Successful request.

Error Codes

See Error Codes.