{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates an existing budget for an organization. The authenticated user must be an organization admin or billing manager.","properties":{"path":{"type":"object","properties":{"org":{"type":"string","description":"The organization name. The name is not case sensitive."},"budget_id":{"type":"string","description":"The ID corresponding to the budget."}},"required":["org","budget_id"],"additionalProperties":false},"body":{"type":"object","properties":{"budget_amount":{"type":"integer","description":"The budget amount in whole dollars. For license-based products, this represents the number of licenses."},"prevent_further_usage":{"type":"boolean","description":"Whether to prevent additional spending once the budget is exceeded. For budgets with `user` or `multi_user_customer` scope, this must remain `true`."},"budget_alerting":{"type":"object","properties":{"will_alert":{"type":"boolean","description":"Whether alerts are enabled for this budget. Ignored for user-scopes as alerting is always disabled for them."},"alert_recipients":{"type":"array","items":{"type":"string"},"description":"Array of user login names who will receive alerts. Ignored for user-scopes as alerting is always disabled for them."}}},"expires_at":{"oneOf":[{"type":["string","null"],"format":"date"},{"type":"integer","enum":[0]}],"description":"The date the budget will expire in `YYYY-MM-DD` format. Only dates in the future are accepted.\nIf not set, the budget will not expire. Setting to `null` or `0` will remove the expiration date from a budget if set.\n\nOnly supported for existing user-scoped budgets."}},"examples":[{"prevent_further_usage":false,"budget_amount":10,"budget_alerting":{"will_alert":false,"alert_recipients":[]}}]}},"required":["path","body"],"additionalProperties":false},"name":"Update a budget for an organization","id":"github.billing.update-budget-org","example":{"path":{"org":"example","budget_id":"example"},"body":{"prevent_further_usage":false,"budget_amount":10,"budget_alerting":{"will_alert":false,"alert_recipients":[]}}},"maxRequests":1,"summary":false}}