del
Deletes a list of keys.
Query Syntax
HTTP
URL: http://kuzzle:7512/ms
Method: DELETE
Body:
{
"keys": ["key1", "key2", "..."]
}
Other protocols
{
"controller": "ms",
"action": "del",
"body": {
"keys": ["key1", "key2", "..."]
}
}
Body properties
keys
: an array of keys to delete
Response
Returns the number of deleted keys.
{
"requestId": "<unique request identifier>",
"status": 200,
"error": null,
"controller": "ms",
"action": "del",
"collection": null,
"index": null,
"result": 3
}