Pinecone Database
# pip install "pinecone[grpc]" from pinecone.grpc import PineconeGRPC as Pinecone pc = Pinecone(api_key='API_KEY') pc.delete_collection("example-collection")
This operation deletes an existing collection.
Serverless indexes do not support collections.
An API Key is required to call Pinecone APIs. Get yours from the console.
The name of the collection.
The collection has been successfully deleted.
Was this page helpful?