Delete an async ES|QL query
Unreleased This version is not released yet and can change. View the latest version (v9)
- DELETE /_query/async/{id}
Unreleased This version is not released yet and can change. View the latest version (v9)
If the query is still running, it is cancelled. Otherwise, the stored results are deleted.
If the Elasticsearch security features are enabled, only the following users can use this API to delete a query:
cancel_task cluster privilegecancel_task