Skip to content
masterclass Buddy

Upstash · Method

index.delete

Deletes documents from an Upstash Search index by ID, ID prefix, or metadata filter. The response reports how many documents were deleted.

Last updated

Syntax

await index.delete(idsOrPayload)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • DeletePayload
  • DeleteResult
  • metadata filtering
  • indexes

Source: Delete - Upstash Documentation. Checked 2026-11-03.