Skip to main content
PUT
Set the spending cap

Authorizations

Authorization
string
header
required

The Checkly Public API uses API keys to authenticate requests. You can get the API Key here. Your API key is like a password: keep it secure!

Authentication to the API is performed using the Bearer auth method in the Authorization header and using the account ID.

For example, set Authorization header while using cURL: curl -H "Authorization: Bearer [apiKey]" "X-Checkly-Account: [accountId]"

Headers

x-checkly-account
string<uuid>

Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general

Body

application/json
spendingCapCents
integer | null
required

The overage spending cap in cents, at most 1000000 (10,000 dollars). Null is no cap. 0 allows no overage: checks stop once the included runs are used. It applies to the STARTER and TEAM plans.

Required range: 0 <= x <= 1000000

Response

Successful

spendingCapCents
integer | null
required

The overage spending cap in cents, at most 1000000 (10,000 dollars). Null is no cap. 0 allows no overage: checks stop once the included runs are used. It applies to the STARTER and TEAM plans.

Required range: 0 <= x <= 1000000