Mute an alert

POST /api/alerting/rule/{ruleId}/alert/{alertId}/_mute

You must have all privileges for the appropriate Kibana features, depending on the consumer and rule_type_id of the rule. For example, the Management > Stack Rules feature, Analytics > Discover and Machine Learning features, Observability, and Security features. If the rule has actions, you must also have read privileges for the Management > Actions and Connectors feature.

Headers

  • kbn-xsrf string Required

    Cross-site request forgery protection

Path parameters

  • alertId string Required

    An identifier for the alert. The identifier is generated by the rule and might be any arbitrary string.

  • ruleId string Required

    An identifier for the rule.

Responses

  • Indicates a successful call.

  • 401 application/json; Elastic-Api-Version=2023-10-31

    Authorization information is missing or invalid.

    Hide response attributes Show response attributes object
POST /api/alerting/rule/{ruleId}/alert/{alertId}/_mute
curl \
 -X POST https://localhost:5601/api/alerting/rule/ac4e6b90-6be7-11eb-ba0d-9b1c1f912d74/alert/ac4e6b90-6be7-11eb-ba0d-9b1c1f912d74/_mute \
 -H "kbn-xsrf: string"
Response examples (401)
{
  "error": "Unauthorized",
  "message": "string",
  "statusCode": 401
}