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