---
title: "Delete Budget"
method: DELETE
path: "/v1/budgets/{budget_id}"
tags: ["budgets"]
---

# Delete Budget

`DELETE /v1/budgets/{budget_id}`

Delete a budget.

Refused with 409 while anything still names this budget: a workspace handing
it to its members, or a scoped ceiling enforcing it. Both foreign keys are
``RESTRICT``, so the database would refuse either anyway, but as an
``IntegrityError`` reported as "Database error" with nothing naming what to
go and change. Checked here so the refusal can say which, and where.

## Path parameters

- `budget_id` string, required

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

## Changes

- **2026-07-20** `d9a87177ce4a` — 1 info
  - the endpoint scheme security `XApiKeyAuth` was added to the API
- **2026-07-14** `0ad4e5f1cc3e` — 1 info
  - the endpoint scheme security `ApiKeyAuth` was added to the API
- **2026-04-17** `0f43605bdc13` — 1 info
  - the endpoint scheme security `ApiKeyAuth` was removed from the API

[Change history](https://skmtc.dev/mozilla-ai/apis/otari/changes/v1/budgets/:budget_id/delete.md)

---

[API](https://skmtc.dev/mozilla-ai/apis/otari.md) · [All operations](https://skmtc.dev/mozilla-ai/apis/otari/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mozilla-ai/otari/revisions/e1330cf6addb/schema)
