from pinecone import Pinecone
pc = Pinecone(api_key="YOUR_API_KEY")
pc.delete_collection("example-collection")
Backups
Delete a collection
Delete an existing collection. Serverless indexes do not support collections.
DELETE
/
collections
/
{collection_name}
from pinecone import Pinecone
pc = Pinecone(api_key="YOUR_API_KEY")
pc.delete_collection("example-collection")
from pinecone import Pinecone
pc = Pinecone(api_key="YOUR_API_KEY")
pc.delete_collection("example-collection")
Authorizations
Headers
Required date-based version header
Path Parameters
The name of the collection.
Response
The collection has been successfully deleted.
Was this page helpful?
⌘I