zrem #
Removes members from a sorted set.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/ms/_zrem/<_id>
Method: DELETE
Body:
{
"members": ["member1", "member2", "..."]
}
Other protocols #
{
"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.
{
"requestId": "<unique request identifier>",
"status": 200,
"error": null,
"controller": "ms",
"action": "zrem",
"collection": null,
"index": null,
"result": 3
}
Edit this page on Github(opens new window)