Set a per-team default budget
Creates or updates the org’s per-team default budget: a cap applying to EACH team in the org individually (not in aggregate), unless an explicit team budget of the same owner and period exists for them. Threshold alerts and blocks fire per team. 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 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>.
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