Core
API v1.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

zrem #

Removes members from a sorted set.

[Redis documentation]


Query Syntax #

HTTP #

Copied to clipboard!
URL: http://kuzzle:7512/ms/_zrem/<_id>
Method: DELETE
Body:
Copied to clipboard!
{
  "members": ["member1", "member2", "..."]
}

Other protocols #

Copied to clipboard!
{
  "controller": "ms",
  "action": "zrem",
  "_id": "<key>",
  "body": {
    "members": ["member1", "member2", "..."]
  }
}

Arguments #

  • _id: sorted set identifier

Body properties #

  • members: an array of member values to remove from the sorted set

Response #

Returns the number of removed members.

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