latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-08-152881,4212.8 MB

0b6aa15de4b9

Spend alerts

Updates an organization spend alert.

post/organization/spend_alerts/{alert_id}

Path parameters

alert_idstring required

The ID of the spend alert to update.

Request body

threshold_amountinteger required

The alert threshold amount, in cents.

currency'USD' required

The currency for the threshold amount.

interval'month' required

The time interval for evaluating spend against the threshold.

Response

Organization spend alert updated successfully.

idstring required

The identifier, which can be referenced in API endpoints.

object'organization.spend_alert' required

The object type, which is always organization.spend_alert.

threshold_amountinteger required

The alert threshold amount, in cents.

currency'USD' required

The currency for the threshold amount.

interval'month' required

The time interval for evaluating spend against the threshold.