Upstash Documentation home page
Search...
⌘K
Ask AI
Discord
Blog
Twitter
Console
Console
Search...
Navigation
Commands
Reset
Overview
Redis
Vector
QStash
Workflow
Search
Developer API
Overall
Quickstarts
Search UI
Features
SDKs
Typescript
Getting Started
Contributing
Commands
Search
Upsert
Fetch
Delete
Range
Reset
Info
Python
Integrations
Tools
Help
Basic
Copy
Ask AI
const
responseReset
=
await
index
.
reset
();
// 'Success'
Commands
Reset
Basic
Copy
Ask AI
const
responseReset
=
await
index
.
reset
();
// 'Success'
The
reset
method allows you to clear all documents from a particular index.
Response
'Success'
if the database is successfully reset.
Basic
Copy
Ask AI
const
responseReset
=
await
index
.
reset
();
// 'Success'
Was this page helpful?
Yes
No
Suggest edits
Raise issue
Range
Info
Assistant
Responses are generated using AI and may contain mistakes.