Set an org budget
Creates or updates a budget for the org. One budget per (scope, owner); editing re-evaluates against live spend. Targets the caller’s own organization (inferred from the API key or session) unless the optional org_id query parameter names another org — cluster admins only.
Authorizations
Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.
Query Parameters
Target org; defaults to the caller's own org. Only cluster admins may name another org (org admins may pass their own).
1 - 255Body
daily, weekly, monthly Spend limit in major currency units
1cluster = operator ceiling (org-admin read-only); org = self-budget
cluster, org 1Response
OK
org, apikey, user, team, external_user, user_default, team_default, external_user_default cluster, org daily, weekly, monthly