/organizations/{org}/settings/billing/budgets/{budget_id}Update an organization budget
Updates an existing budget for an organization. Supply the budget fields you want to change, including budget_amount, budget_scope, or prevent_further_usage, while preserving scope-specific constraints. The authenticated user must be an organization administrator or billing manager.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
The budget properties to update for the organization.
A 400 is returned for an invalid request, a 401 when authentication is missing or invalid, and a 403 when the authenticated user lacks permission. A 404 is returned when the budget is not found or the feature is not enabled; a 422 indicates validation failure or endpoint abuse, and a 500 indicates an internal server error. budget_scope must be one of enterprise, organization, repository, cost_center, multi_user_customer, or user; expires_at accepts a future YYYY-MM-DD date or 0.