Skip to main content
PUT
Set

Authorizations

Authorization
string
header
required

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

Path Parameters

orgId
string
required

The organization's id (UUID) or slug — either form is accepted.

projectId
string
required

The project's id (UUID) or slug — either form is accepted.

Body

application/json
monthlyCapUsd
number
required

Monthly cap in USD. Must be > 0.

hardStop
boolean

Defaults to false.

alertAtPercent
integer

1-100. Defaults to 80.

Response

Budget stored.

monthlyCapUsd
number
required
hardStop
boolean
required

Whether spend past the cap suspends the project's paid activity.

alertAtPercent
integer
required

Alert threshold as a percent of the cap.

currentSpendUsd
number
required

Month-to-date spend at rate-card prices.