Set a team budget
Creates or updates a budget for the team in the target org. One budget per (scope, owner); editing re-evaluates against live spend. An explicit team budget replaces the org’s per-team default budget of the same owner and period for this team (exemption-by-override — it may raise or tighten it); different-period defaults, org budgets, and API-key budgets still apply. 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. Callable by cluster admins, or org admins for teams in their own organization (owner=org).
Authorizations
Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.
Path Parameters
1 - 255Query 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