Delete ruleedit

Deletes a single rule using the rule_id or id field.

The Kibana Console supports only Elasticsearch APIs. Console doesn’t allow interactions with Kibana APIs. You must use curl or another HTTP tool instead. For more information, refer to Console.

Request URLedit

DELETE <kibana host>:<port>/api/detection_engine/rules

URL query parametersedit

The URL query must include one of the following:

  • id - DELETE /api/detection_engine/rules?id=<id>
  • rule_id- DELETE /api/detection_engine/rules?rule_id=<rule_id>

Example requestedit

Deletes the rule with an id value of 16947168-5405-453d-a8b5-aadad357af42:

DELETE api/detection_engine/rules?id=16947168-5405-453d-a8b5-aadad357af42

Response codeedit

200
Indicates a successful call.