Change an alert
update_alertPause or resume an alert, change its events, email_mode or label, or rotate a webhook signing secret. Pass the id and only the fields to change. Examples: {"id": "alr_3f9a...", "status": "paused"}. {"id": "alr_3f9a...", "status": "active"} resumes an alert paused after webhook failures. {"id": "alr_3f9a...", "rotate_secret": true} returns a new secret once; the old one stops working at once. Returns {alert, secret?}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Alert id from subscribe_alert or list_alerts, for example "alr_3f9a...". | |
| label | No | ||
| events | No | What to be told about: "new_period" (a period not published before) and "revision" (a published value or its status changed). Default both. | |
| status | No | ||
| email_mode | No | ||
| rotate_secret | No | Webhook alerts only: issue a new signing secret. |