OLAP REST Commands : Object Update Commands : Delete Batch

Delete Batch
Objects can be deleted in the Add Batch command, but they can also be deleted en masse with the following REST command:
DELETE /{application}/{shard}
where {application} is the application name and {shard} is the shard from which objects are to be deleted. The command must include an input entity that only contains the _table and _ID of each object to be deleted. Example:
<batch>
<docs>
<doc _table="Message">
<field name="_ID">92XJeDwQ8lD3/RS4yM5gTg==</field>
</doc>
<doc _table="Message">
<field name="_ID">95lfrCiljbiKOQK9UH7LYg==</field>
</doc>
<doc _table="Person">
<field name="_ID">x3OKbjCmKw47wEHaqV0nLQ==</field>
</doc>
...
</docs>
</batch>
In JSON:
{"batch": {
"docs": [
{"doc": {
"_table": "Message",
"_ID": "92XJeDwQ8lD3/RS4yM5gTg=="
}},
{"doc": {
"_table": "Message",
"_ID": "95lfrCiljbiKOQK9UH7LYg=="
}},
{"doc": {
"_table": "Person",
"_ID": "x3OKbjCmKw47wEHaqV0nLQ=="
}},
...
]
}}
Only the _table and _ID of each doc element is required. If any other fields are assigned values, they are ignored. As with the Add Batch command, the delete batch is stored but not processed until the corresponding shard is merged.