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(name="docs-example")
An API Key is required to call Pinecone APIs. Get yours from the console.
The name of the index to delete.
The request to delete the index has been accepted.
Was this page helpful?
Pinecone Assistant