---
title: "Delete an origin group from a Load Balancer profile"
method: DELETE
path: "/loadbalancer/{loadBalancerId}/origingroup/{id}"
tags: ["Load Balancer"]
---

# Delete an origin group from a Load Balancer profile

`DELETE /loadbalancer/{loadBalancerId}/origingroup/{id}`

## Request

- Base URL: `https://api.bunny.net`
- URL: `https://api.bunny.net/loadbalancer/{loadBalancerId}/origingroup/{id}`
- Auth: one of:
  - API key in header `AccessKey`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/bunny/apis/bunny-net-api/docs/loadbalancer/:loadBalancerId/origingroup/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `loadBalancerId` integer, required
- `id` integer, required

## Response `204`

The origin group was deleted

## Other responses

- `401`: The request authorization failed
- `404`: The Load Balancer profile or origin group was not found
- `500`: Internal Server Error

## Changes

- **2026-11-12** `2b06f94dbfbf`: 2 info
  - the security scope `ScopedApiKey` was added to the endpoint's security scheme `AccessKey`
  - the security scope `ScopedApiKey` was added to the endpoint's security scheme `bearer`
- **2026-08-07** `205129a7ebd5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bunny/apis/bunny-net-api/changes/loadbalancer/:loadBalancerId/origingroup/:id/delete.md)

---

[API](https://skmtc.dev/bunny/apis/bunny-net-api.md) - [All operations](https://skmtc.dev/bunny/apis/bunny-net-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bunny/apis/bunny-net-api/revisions/2b06f94dbfbf?raw)
