Skip to main content

Documentation Index

Fetch the complete documentation index at: https://upstash-fix-issues-on-docs.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Arguments

key
string
required
The key of the json entry.
path
string
default:"$"
The path of the boolean.

Response

The new value of the boolean.
const bool = await redis.json.toggle("key", "$.path.to.array");