IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Delete async SQL search APIedit
Deletes an async SQL search or a stored synchronous SQL search. If the search is still running, the API cancels it.
DELETE _sql/async/delete/FkpMRkJGS1gzVDRlM3g4ZzMyRGlLbkEaTXlJZHdNT09TU2VTZVBoNDM3cFZMUToxMDM=
Requestedit
DELETE _sql/async/delete/<search_id>
Prerequisitesedit
-
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
-
Users with the
Limitationsedit
See SQL Limitations.
Path parametersedit
-
<search_id>
- (Required, string) Identifier for the search.