Pinecone Database
# To get the unique host for an index, # see https://docs.pinecone.io/guides/manage-data/target-an-index PINECONE_API_KEY="YOUR_API_KEY" INDEX_HOST="INDEX_HOST" curl "https://$INDEX_HOST/vectors/delete" \ -H "Api-Key: $PINECONE_API_KEY" \ -H "Content-Type: application/json" \ -H "X-Pinecone-Api-Version: 2025-10" \ -d '{ "ids": [ "id-1", "id-2" ], "namespace": "example-namespace" } '
{}
Delete vectors by id from a single namespace.
For guidance and examples, see Delete data.
An API Key is required to call Pinecone APIs. Get yours from the console.
The request for the delete operation.
delete
A successful response.
The response for the delete operation.
Was this page helpful?