Skip to main content
PUT
Create or update a gateway budget

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
manifest
TenantBudgetConfig · object
required

The budget manifest. Must match either the TenantBudgetConfig or TeamBudgetConfig schema.

dryRun
boolean | null
default:false

When true, validates the manifest without persisting changes.

Response

The created or updated budget.

tenantName
string
required

Tenant the budget belongs to.

name
string
required

Budget name (unique per tenant).

type
string
required

Budget type (tenant-budget-config | team-budget-config).

manifest
TenantBudgetConfig · object
required

The budget manifest.

createdBySubject
Subject · object
required

Principal that created or last updated this budget.

id
string | null

System-generated Budget ID.

createdAt
string<date-time> | null

Creation timestamp.

updatedAt
string<date-time> | null

Last-update timestamp.