Update a budget
Updates mutable fields of a budget: limits, rate limit, activation, and expiration. The scope is immutable — to change a budget’s target, delete and recreate it. Omitted fields keep their current values.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Budget id to update.
Body
New limits. Omit to keep current.
New rate limit. Omit to keep current.
New active state. Omit to keep current.
New expiration. Omit to keep current. Set clear_expires_at = true
to remove an existing expiration.
Force-clear the expiration. Mutually exclusive with expires_at.
New matching expression. Only valid for dynamic budgets (no structured scope) — the scope of a scoped budget is immutable, so its derived expression is too. Validated via CEL parse.
Replaces the alert list wholesale. Omit to keep the current alerts.
An entry with a known id is edited in place; one with no id is minted.
Force-clear every alert. Mutually exclusive with a non-empty alerts.
Response
OK
Updated budget.