Skip to content
  • Auto
  • Light
  • Dark

Delete

Delete a Load Balancer
delete/v2/load_balancers/{lb_id}

To delete a load balancer instance, disassociating any Droplets assigned to it and removing it from your account, send a DELETE request to /v2/load_balancers/$LOAD_BALANCER_ID.

A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.

Path ParametersExpand Collapse
lb_id: string
curl https://api.digitalocean.com/v2/load_balancers/$LB_ID \
    -X DELETE \
    -H "Authorization: Bearer $DIGITALOCEAN_ACCESS_TOKEN"
Returns Examples