Snooze an alert
- Base URL
-
https://{kibana_url}
- POST /api/alerting/rule/{rule_id}/alert/{alert_id}/_snooze
Request body
-
condition_operatorenum -
Logical operator applied to the conditions array. "any" expires the snooze when at least one condition is met; "all" requires every condition to be met. When conditions are provided but this field is omitted, defaults to "any".
-
Values:
anyall -
conditionsunion anyOf[] · max items: 10 -
One or more conditions that, when met, automatically expire the snooze. Supported types:
field_change,severity_change,severity_equals. - Any of:
Expires the snooze when the value of the specified alert field changes.
Expires the snooze when the severity of the specified alert changes.
Responses
204
Indicates a successful call.
400
Indicates an invalid schema or parameters.
403
Indicates that this call is forbidden.
404
Indicates the specified rule or alert doesn't exist.