Upstash Documentation home page
Search...
⌘K
Ask AI
Discord
Blog
Twitter
Console
Console
Search...
Navigation
Server
FLUSHALL
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
List
PubSub
Scripts
Server
DBSIZE
FLUSHALL
FLUSHDB
Set
Sorted Set
String
Ratelimit (TS)
Ratelimit (PY)
How To
Integrations
Tutorials
Troubleshooting
Help
Sync
Async
Copy
Ask AI
redis.flushall()
Server
FLUSHALL
Sync
Async
Copy
Ask AI
redis.flushall()
Deletes all keys permanently. Use with caution!
Arguments
flush_type
"ASYNC" | "SYNC"
Whether to perform the operation asynchronously. Defaults to synchronous.
Sync
Async
Copy
Ask AI
redis.flushall()
Was this page helpful?
Yes
No
Suggest edits
Raise issue
DBSIZE
FLUSHDB
Assistant
Responses are generated using AI and may contain mistakes.