/organization/spend_alerts/{alert_id}Update an organization spend alert
Updates a spend alert configured at the organization level. Provide the threshold, currency, evaluation interval, and email notification settings for the alert. The response contains the updated alert configuration.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Updated organization spend alert configuration. Provide threshold_amount, currency, interval, and notification_channel.
A 400 is returned when the update is invalid or conflicts with the hard spend limit. threshold_amount must be zero or greater, currency must be USD, and interval must be month; notification_channel.type must be email and recipients must be provided. The alert_id path parameter identifies the alert to update. A 403 is returned when the authenticated user lacks permission, and a 404 is returned when the alert is not found.