Set an organization's budget-enforcement setting
Choose block to refuse this organization’s billable requests whenever the budget check is unavailable (fail closed), allow to admit them (fail open), or null to inherit the cluster default again. Applies to new admissions within 10 seconds on every gateway replica. Cluster admins may set any organization to anything; organization admins may only tighten their own — block, or null to inherit while that does not loosen an effective block — and never allow, so neither a cluster-wide nor a cluster-admin-pinned block can be switched off or pre-empted by a tenant (never through an exchanged end-user token). API keys need write:budgets. The cluster organization has no override: it is the operator’s own identity and always fails open.
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 - 255Body
allow, block Response
OK
The organization's own setting; null inherits the cluster default
allow, block allow, block What the spend gate does for this organization when the budget check is unavailable
allow, block