Deletes an async SQL search or a stored synchronous SQL search Added in 7.15.0

DELETE /_sql/async/delete/{id}

If the search is still running, the API cancels it.

Path parameters

  • id string Required

    Identifier for the search.

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • acknowledged boolean Required

      For a successful response, this value is always true. On failure, an exception is returned instead.

DELETE /_sql/async/delete/{id}
curl \
 -X DELETE http://api.example.com/_sql/async/delete/{id}