Budget

Update budget alert

Changed on

Update an existing alert threshold. Requires CompanyAdmin role.

patch/api/v3/billing/budget/alerts/{id}

Request

  • Base URL
    https://api.lighton.ai
  • URL
    https://api.lighton.ai/api/v3/billing/budget/alerts/{id}
  • Auth
    HTTP bearer

Path parameters

idinteger required

Request body

is_enabledboolean nullable

Whether this alert is active.

threshold_type'percentage' | 'absolute' nullable

'percentage' of budget or 'absolute' EUR amount.

threshold_valuestring nullable

e.g. 75.00 for 75% or 500.00 for 500 EUR.

Response

idinteger required
is_enabledboolean required
threshold_typestring required
threshold_valuestring required

Changes