Json
JSON.DEL
Delete a key from a JSON document.
await redis.json.del("key", "$.path.to.value");
Arguments
key
string
requiredThe key of the json entry.
path
string
default: "$"The path to delete
value
...TValue[]
requiredOne or more values to append to the array.
Response
How many paths were deleted.
Was this page helpful?
await redis.json.del("key", "$.path.to.value");