POST
/
vectors
/
delete
curl --request POST \
     --url https://index_name-project_id.svc.environment.pinecone.io/vectors/delete \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "deleteAll": "false"
}
'
{}

Authorizations

Api-Key
string
headerrequired

An API Key is required to call Pinecone APIs. Get yours at https://app.pinecone.io/.

Body

application/json
ids
string[]

Vectors to delete.

deleteAll
boolean
default: false

This indicates that all vectors in the <a href='https://docs.pinecone.io/docs/namespaces'>namespace</a> should be deleted. Not supported by projects on the gcp-starter environment.

namespace
string

The <a href='https://docs.pinecone.io/docs/namespaces'>namespace</a> to delete vectors from, if applicable.

filter
object

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 https://www.pinecone.io/docs/metadata-filtering/. Not supported by projects on the gcp-starter environment.

Response

200 - application/json

The response for the Delete operation.

Was this page helpful?