Update a usage threshold alert
Update the recipients list of an existing usage threshold alert. Only recipients may be modified; threshold is fixed at registration time because it is stored on UCP itself and changing it would require tearing down and recreating the alert. To change the threshold, delete and recreate the alert. Providing a recipients value overwrites the existing list rather than appending to it; to add a new recipient include the existing recipients in the request as well. If the creator wants to be notified when the alert fires they must include their own email address in this list.
Required role: air_org_admin
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Request
Email addresses notified when UCP fires the webhook. Providing a value on update overwrites the existing recipients rather than appending to them; to add a new recipient include the existing recipients in the request as well.
Response
The UCP webhook event this alert is registered for.
USAGE_REMAINING_ALERT- USAGE_REMAINING_ALERTUSAGE_GRANT_THRESHOLD_REACHED- USAGE_GRANT_THRESHOLD_REACHEDUSAGE_GRANT_EXHAUSTED- USAGE_GRANT_EXHAUSTEDCONTRACT_ENDED- CONTRACT_ENDED
Email addresses notified when UCP fires the webhook. Providing a value on update overwrites the existing recipients rather than appending to them; to add a new recipient include the existing recipients in the request as well.