Alerts
/Update an alert by ID
Update an alert by ID
https://api.livesession.io/v1/alerts/{id}
Update alert by ID
Scopes
Required scopes:
alerts:writePath parameters
idstringRequired
Unique identifier of the alert to update
Request body
namestringeventsarray of objectkindintegervaluestringproviderstringslackstringwebhooksstringslack_channel_idstringwebhook_idstring
New name for the alert
Updated list of events that will trigger the alert
Kind of event, more info [here](/docs/api/rest/EventKind)
Value or threshold that triggers the alert
Updated notification provider for the alert
Updated Slack channel ID for notifications
Updated webhook ID for notifications
Response
OK
alert_idstringnamestringeventsarray of objectkindintegervaluestringproviderstringslackstringwebhooksstringslack_channel_idstringwebhook_idstringenabledbooleancreation_datestring
Unique identifier for the alert
Name of the alert
List of events that trigger the alert
Kind of event, more info [here](/docs/api/rest/EventKind)
Value or threshold that triggers the alert
Notification provider for the alert
Slack channel ID for notifications
Webhook ID for notifications
Whether the alert is currently active
ISO 8601 timestamp when the alert was created
Built with
Show your support! Star us on GitHub ⭐️