Test run of new docs
This commit is contained in:
60
docs/reference-async_search-delete.asciidoc
Normal file
60
docs/reference-async_search-delete.asciidoc
Normal file
@ -0,0 +1,60 @@
|
||||
[[reference-async_search-delete]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| This file is autogenerated, DO NOT send pull requests that changes this file directly. ||
|
||||
|| You should update the script that does the generation, which can be found in: ||
|
||||
|| https://github.com/elastic/elastic-client-generator-js ||
|
||||
|| ||
|
||||
|| You can run the script with the following command: ||
|
||||
|| npm run elasticsearch -- --version <version> ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
===========================================================================================================================
|
||||
////////
|
||||
|
||||
[discrete]
|
||||
=== client.asyncSearch.delete
|
||||
|
||||
Delete an async search. If the asynchronous search is still running, it is cancelled. Otherwise, the saved search results are deleted. If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the `cancel_task` cluster privilege.
|
||||
|
||||
{ref}/async-search.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(AsyncSearchDeleteRequest, options?): Promise<AsyncSearchDeleteResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `AsyncSearchDeleteRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface AsyncSearchDeleteRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
id: <<shared-type-id, Id>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `AsyncSearchDeleteResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type AsyncSearchDeleteResponse = <<shared-type-acknowledged-response-base, AcknowledgedResponseBase>>
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user