---
title: "Update budget alert"
method: PATCH
path: "/api/v3/billing/budget/alerts/{id}"
tags: ["Budget"]
---

# Update budget alert

`PATCH /api/v3/billing/budget/alerts/{id}`

## Request

- Base URL: `https://api.lighton.ai`
- URL: `https://api.lighton.ai/api/v3/billing/budget/alerts/{id}`
- Auth: HTTP bearer

Update an existing alert threshold. Requires CompanyAdmin role.

## Path parameters

- `id` integer, required

## Request body

- PatchedBudgetAlertUpdateRequest
  - `is_enabled` boolean, nullable: Whether this alert is active.
  - `threshold_type` 'percentage' | 'absolute', nullable: 'percentage' of budget or 'absolute' EUR amount.
  - `threshold_value` string, nullable: e.g. 75.00 for 75% or 500.00 for 500 EUR.

## Response `200`

- BudgetAlertResponse
  - `id` integer, required
  - `is_enabled` boolean, required
  - `threshold_type` string, required
  - `threshold_value` string, required

## Other responses

- `503`: API is under maintenance. Check `GET /api/v3/system/status` for active periods and retry.

## Changes

- **2026-11-03** `63ecbc61b6a9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/lighton/apis/lighton-api/changes/api/v3/billing/budget/alerts/:id/patch.md)

---

[API](https://skmtc.dev/lighton/apis/lighton-api.md) - [All operations](https://skmtc.dev/lighton/apis/lighton-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lighton/apis/lighton-api/revisions/63ecbc61b6a9?raw)
