Delete vectors
The delete
operation deletes vectors, by id, from a single namespace.
For guidance and examples, see Delete data.
Authorizations
An API Key is required to call Pinecone APIs. Get yours from the console.
Body
The request for the delete
operation.
Vectors to delete.
This indicates that all vectors in the index namespace should be deleted.
The namespace to delete vectors from, if applicable.
If specified, the metadata filter here will be used to select the vectors to delete. This is mutually exclusive with specifying ids to delete in the ids param or using delete_all=True. See Filter with metadata.
Serverless indexes do not support delete by metadata. Instead, you can use the list
operation to fetch the vector IDs based on their common ID prefix and then delete the records by ID.
Response
The response for the delete
operation.
Was this page helpful?