Delete async EQL search API

Delete async EQL search APIedit

Deletes an async EQL search or a stored synchronous EQL search. The API also deletes results for the search.

response = client.eql.delete(
puts response


DELETE /_eql/search/<search_id>


  • If the Elasticsearch security features are enabled, only the following users can use this API to delete a search:

    • Users with the cancel_task cluster privilege
    • The user who first submitted the search
  • See Required fields.


See EQL limitations.

Path parametersedit


(Required, string) Identifier for the search to delete.

A search ID is provided in the EQL search API's response for an async search. A search ID is also provided if the request’s keep_on_completion parameter is true.