Skip to main content
PUT
Update usage-alert settings

Authorizations

X-Axilio-Api-Key
string
header
required

Customer API key (axl_ prefix).

Body

application/json

Usage-alert configuration: warn when the balance runs low.

enabled
boolean
required

Whether low-balance alerts are active. Negative-balance alerts are always on.

threshold_cents
integer<int64>
required

Alert while the balance sits below this amount, in cents. Must be positive.

Response

OK

The org's usage-alert configuration and any open alerts.

active_alerts
object[] | null
required

Currently open alerts, oldest first. Empty when the balance is healthy.

enabled
boolean
required

Whether low-balance alerts are active. Negative-balance alerts are always on.

threshold_cents
integer<int64>
required

Alert while the balance sits below this amount, in cents. Must be positive.