Delete a rule

DELETE /api/alerting/rule/{id}

Headers

  • The version of the API to use

    Value is 2023-10-31. Default value is 2023-10-31.

  • kbn-xsrf string Required

    A required header to protect against CSRF attacks

Path parameters

  • id string Required

    The identifier for the rule.

Responses

  • Indicates a successful call.

DELETE /api/alerting/rule/{id}
curl \
 -X DELETE http://localhost:5601/api/alerting/rule/{id} \
 -H "elastic-api-version: 2023-10-31" \
 -H "kbn-xsrf: true"