BulkUpdateAlertsRequest data model
Send updates, channelAction, or both. notificationChannelIds is required with channelAction; it may be empty only for replace, which then removes every channel from the monitors.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
monitorIds | array of string (uuid) | Yes | Every ID must be a monitor of your organization and IDs must not repeat, otherwise the request is refused with 403 and nothing changes. Min items 1, max items 2000. |
updates | object | No | |
updates.alertThreshold | integer | No | Confirmed failed checks in a row before the down alert. Minimum 1, maximum 10. |
updates.slowAlertThreshold | integer | No | Slow responses in a row before the slow alert. Minimum 1, maximum 10. |
updates.alertDelay | integer | No | Seconds to wait before alerting. Minimum 0, maximum 900. |
updates.notificationRepeatInterval | integer | No | Minutes until a reminder while a problem continues, then one reminder a day. 0 sends no reminders. Minimum 0, maximum 1440. |
updates.visualCheckInterval | integer | No | Seconds between visual checks. Applied only to monitors with visual monitoring on. Minimum 900, maximum 86400. |
channelAction | string | No | replace sets the monitors' channels to exactly notificationChannelIds; add adds them; remove removes them. One of: replace, add, remove. |
notificationChannelIds | array of string (uuid) | No | Notification channels of your organization. |
Used by
- Bulk update monitor alerts:
PUT /api/monitors/bulk-alerts
Generated from the OpenAPI 3.1 specification at https://docs.visualsentinel.com/openapi.json.