await redis.json.del("key", "$.path.to.value");

Arguments

key
string
required
The key of the json entry.
path
string
default:"$"
The path to delete
value
...TValue[]
required
One or more values to append to the array.

Response

How many paths were deleted.
await redis.json.del("key", "$.path.to.value");