---
title: "Remove a backend from a load balancer."
method: DELETE
path: "/v1/lb/{id}/backends/{backend_id}"
tags: ["Load Balancer"]
---

# Remove a backend from a load balancer.

`DELETE /v1/lb/{id}/backends/{backend_id}`

## Request

- Base URL: `https://api.scalix.world`
- URL: `https://api.scalix.world/v1/lb/{id}/backends/{backend_id}`
- Auth: HTTP bearer

Deletes a backend target from the load balancer by id.

## Path parameters

- `id` string, required
- `backend_id` string, required

## Response `200`

Backend removed

- DeletedResponse: Standard `{ "deleted": true }` acknowledgement.
  - `deleted` boolean, required

## Other responses

- `401`: Missing or invalid credentials
- `403`: Token lacks the lb:write scope
- `404`: Load balancer or backend not found
- `500`: Internal error

---

[API](https://skmtc.dev/scalix/apis/scalix-cloud-api.md) · [All operations](https://skmtc.dev/scalix/apis/scalix-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scalix/apis/scalix-cloud-api/revisions/2c04ca0a90bb?raw)
