Delete an existing index.
# pip install pinecone[grpc] from pinecone.grpc import PineconeGRPC as Pinecone, PodSpec pc = Pinecone(api_key="YOUR_API_KEY") pc.delete_index("example-index")
An API Key is required to call Pinecone APIs. Get yours from the console.
The name of the index to delete.
Was this page helpful?