Skip to content

Delete Load Balancer

DELETE
/api/v1/appliances/{lb_id}/
curl --request DELETE \
--url 'https://api.e2enetworks.com/myaccount/api/v1/appliances/{lb_id}/?project_id=<PROJECT_ID>&apikey=<API_KEY>&location=<LOCATION>' \
--header 'Authorization: Bearer <API_TOKEN>'

Permanently deletes a load balancer appliance. Note the path uses the generic appliances/{lb_id}/ route, not the load-balancers/ prefix. Use the reserve_ip_required query parameter to decide whether the load balancer’s public IP should be retained as a reserved IP on the account after deletion. This action cannot be undone.

lb_id
required
integer

The id of the load balancer, as returned by the List Load Balancers endpoint.

Example

12345
reserve_ip_required
boolean

When true, the load balancer’s public IP is converted to a reserved IP on the account instead of being released.

Example

false
project_id
required
integer

Identifier of the project to scope the request to. Required integer project ID.

Example

<PROJECT_ID>
apikey
required
string

API key used to authenticate the delete request

Example

<API_KEY>
location
required
string

Region of the load balancer being deleted.

Example

<LOCATION>

Successful response

Media typeapplication/json
object
code
integer
data
object
appliance_id
string
errors
object
message
string

Example

{
"code": 200,
"data": {
"appliance_id": ""
},
"message": "Success"
}