srem #
Removes members from a set of unique values.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/ms/_srem/<_id>
Method: DELETE
Body:
{
"members": ["member1", "member2", "..."]
}
Other protocols #
{
"controller": "ms",
"action": "srem",
"_id": "<key>",
"body": {
"members": ["member1", "member2", "..."]
}
}
Argument #
_id
: set key identifier
Body properties #
members
: list of member values to remove
Response #
Returns the number of removed members.
{
"requestId": "<unique request identifier>",
"status": 200,
"error": null,
"controller": "ms",
"action": "srem",
"collection": null,
"index": null,
"result": 3
}
Edit this page on Github(opens new window)