Core
API v2.x
2

del #

Deletes a list of keys.

[Redis documentation]


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
}