Upstash Documentation home page
Search...
⌘K
Ask AI
Discord
Blog
Twitter
Console
Console
Search...
Navigation
Json
JSON.DEL
Overview
Redis
Vector
QStash
Workflow
Search
Developer API
Overall
Quickstarts
Features
SDKs
Typescript
Python
Overview
Getting Started
Features
Commands
Overview
Auth
Bitmap
Generic
Hash
Json
JSON.ARRAPPEND
JSON.ARRINDEX
JSON.ARRINSERT
JSON.ARRLEN
JSON.ARRPOP
JSON.ARRTRIM
JSON.CLEAR
JSON.DEL
JSON.FORGET
JSON.GET
JSON.MERGE
JSON.MGET
JSON.MSET
JSON.NUMINCRBY
JSON.NUMMULTBY
JSON.OBJKEYS
JSON.OBJLEN
JSON.RESP
JSON.SET
JSON.STRAPPEND
JSON.STRLEN
JSON.TOGGLE
JSON.TYPE
List
PubSub
Scripts
Server
Set
Sorted Set
String
Ratelimit (TS)
Ratelimit (PY)
How To
Integrations
Tutorials
Troubleshooting
Help
Example
Copy
Ask AI
redis.json.
del
(
"key"
,
"$.path.to.value"
)
Json
JSON.DEL
Delete a key from a JSON document.
Example
Copy
Ask AI
redis.json.
del
(
"key"
,
"$.path.to.value"
)
Arguments
key
str
required
The key of the json entry.
path
str
default:
"$"
The path to delete
Response
How many paths were deleted.
Example
Copy
Ask AI
redis.json.
del
(
"key"
,
"$.path.to.value"
)
Was this page helpful?
Yes
No
Suggest edits
Raise issue
JSON.CLEAR
JSON.FORGET
Assistant
Responses are generated using AI and may contain mistakes.