Arguments
string
required
The key of the json entry.
string
default:"$"
The path to forget.
...TValue[]
required
One or more values to append to the array.
Response
How many paths were deleted.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
await redis.json.forget("key", "$.path.to.value");
Delete a key from a JSON document.
await redis.json.forget("key", "$.path.to.value");
Was this page helpful?