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