del

Deletes a list of keys.

[Redis documentation]


Query Syntax

HTTP

Copied to clipboard!
URL: http://kuzzle:7512/ms
Method: DELETE
Body:
Copied to clipboard!
{
  "keys": ["key1", "key2", "..."]
}

Other protocols

Copied to clipboard!
{
  "controller": "ms",
  "action": "del",
  "body": {
    "keys": ["key1", "key2", "..."]
  }
}

Body properties

  • keys: an array of keys to delete

Response

Returns the number of deleted keys.

Copied to clipboard!
{
  "requestId": "<unique request identifier>",
  "status": 200,
  "error": null,
  "controller": "ms",
  "action": "del",
  "collection": null,
  "index": null,
  "result": 3
}