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
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