hdel #
Removes fields from a hash.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/ms/_hdel/<_id>
Method: DELETE
Body:
{
"fields": ["field1", "field2", "..."]
}
Other protocols #
{
"controller": "ms",
"action": "hdel",
"_id": "<key>",
"body": {
"fields": ["field1", "field2", "..."]
}
}
Arguments #
_id
: hash key identifier
Body properties #
fields
: an array of hash fields to delete
Response #
Returns the number of removed fields.
{
"requestId": "<unique request identifier>",
"status": 200,
"error": null,
"controller": "ms",
"action": "hdel",
"collection": null,
"index": null,
"result": 3
}
Edit this page on Github (opens new window)