Skip to main content
PATCH
Update a budget

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

budget_id
string
required

Budget id to update.

Body

application/json
limits
object

New limits. Omit to keep current.

rate_limit
object

New rate limit. Omit to keep current.

is_active
boolean

New active state. Omit to keep current.

expires_at
string<date-time>

New expiration. Omit to keep current. Set clear_expires_at = true to remove an existing expiration.

clear_expires_at
boolean

Force-clear the expiration. Mutually exclusive with expires_at.

match
object

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.

Response

200 - application/json

OK

budget
object

Updated budget.