OpenSearch/docs/groovy-api/delete.asciidoc

17 lines
341 B
Plaintext

[[delete]]
== Delete API
The delete API is very similar to the
// {javaclient}/java-docs-delete.html[]
Java delete API, here is an
example:
[source,groovy]
--------------------------------------------------
def deleteF = node.client.delete {
index "test"
type "_doc"
id "1"
}
--------------------------------------------------