* [docs] update readme and examples to use async/await * [apis] regenerate (including updated examples)
10 lines
147 B
Plaintext
10 lines
147 B
Plaintext
.Delete the document `/myindex/mytype/1`
|
|
[source,js]
|
|
---------
|
|
await client.delete({
|
|
index: 'myindex',
|
|
type: 'mytype',
|
|
id: '1'
|
|
});
|
|
---------
|