Upstash Documentation home page
Search...
⌘K
Ask AI
Discord
Blog
X
Console
Console
Search...
Navigation
Json
JSON.DEL
General
Redis
Kafka
Vector
QStash
SDKs
Developer API
Overall
Overview
SDKs
Typescript
Python
upstash-ratelimit
upstash-vector
upstash-redis
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.MGET
JSON.NUMINCRBY
JSON.NUMMULTBY
JSON.OBJKEYS
JSON.OBJLEN
JSON.SET
JSON.STRAPPEND
JSON.STRLEN
JSON.TOGGLE
JSON.TYPE
List
PubSub
Scripts
Server
Set
Sorted Set
String
upstash-qstash
DevOps
Terraform
Pulumi
CLI
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
value
...TValue[]
required
One or more values to append to the array.
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.