Alerts
Enable, disable or change an alert rule
Changes an alert rule: enabled (false pauses it: it creates no new alerts and undelivered ones are not sent), its destination (validated for the rule's channel) or its restrictions. For engines, devices and countries, a list replaces that restriction, null removes it and an omitted field keeps it. A summary_digest rule also takes cadence, weekday, hour and time_zone; omitted ones keep their stored value, including the time zone. Type and channel cannot change; create a new rule instead. Requires the write scope.
post/alert-rules/{rule_id}
Request
- Base URL: https://adslighthouse.com/api/v1
- URL: https://adslighthouse.com/api/v1/alert-rules/{rule_id}
- Auth: HTTP bearer
Path parameters
rule_idstring required
The alert rule id from list_alert_rules.
Request body
Response
Enable, disable or change an alert rule
Changes
No recorded changes to this operation across all 1 revision of this API.