OpenSearch/docs/groovy-api/delete.asciidoc

16 lines
318 B
Plaintext

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