API reference

Set credit alert

Create or replace the organization's credit-balance alert. An email is sent to the organization's billing email when the credit balance drops below the threshold.

View Markdown

PUT/credit-alert

Create or replace the organization's credit-balance alert. An email is sent to the organization's billing email when the credit balance drops below the threshold.

Request body

application/json

FieldTypeDescription
amount_centsRequiredinteger

Responses

200 · OK
FieldTypeDescription
alertthundertypes.CreditAlert
400 · Bad Request
FieldTypeDescription
codeinteger
errorstring
messagestring
401 · Unauthorized
FieldTypeDescription
codeinteger
errorstring
messagestring
500 · Internal Server Error
FieldTypeDescription
codeinteger
errorstring
messagestring

Operation specification

The downloadable Markdown includes the published OpenAPI schema. Use the API origin provided by your compute account.