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

Response

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