Skip to main content

Documentation Index

Fetch the complete documentation index at: https://upstash.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Delete Command for Python SDK

The delete method allows you to delete documents from your index using various criteria.

Arguments

DeletePayload
object
required

Response

Response
int
required
The number of documents that were successfully deleted.
index.delete(ids=["star-wars", "inception"]);