code | type | title | description |
---|---|---|---|
true |
page |
mdeleteDocument |
Collection:mdeleteDocument |
Delete multiple Documents according to the input IDs.
Arguments | Type | Description |
---|---|---|
documentIds |
String[] | Array of IDs of documents to delete |
options |
JSON Object | Optional parameters |
callback |
function | Callback handling the response |
Option | Type | Description | Default |
---|---|---|---|
queuable |
boolean | Make this request queuable or not | true |
Returns a JSON object
containing the raw Kuzzle response.
Can return a 206 partial error in cases where some documents could not be deleted.
<<< ./snippets/mdelete-document-1.java
Callback response:
["doc1", "doc2"]