Skip to main content
POST
Create a usage threshold alert

Authorizations

Authorization
string
header
required

Tenant API key obtained from POST /auth/register or POST /v1/developer/keys.

Body

application/json
subscription_id
string<uuid>
required
metric_code
string
required
threshold_type
enum<string>
required
Available options:
quantity,
percent_of_limit
threshold
integer<int64>
required

Response

The created alert

data
object

A usage threshold that fires once per billing period.