Skip to main content
POST

Authorizations

Api-Key
string
header
required

An API Key is required to call Pinecone APIs. Get yours from the console.

Headers

X-Pinecone-Api-Version
string
default:2026-07
required

Required date-based version header

Body

application/json

The request for the delete operation.

ids
string[]
required

Vectors to delete.

Required array length: 1 - 1000 elements
Required string length: 1 - 512
Pattern: ^[\x01-\x7F]+$
Example:
deleteAll
boolean
default:false

This indicates that all vectors in the index namespace should be deleted. Cannot be combined with ids.

Example:

false

namespace
string

The namespace to delete records from, if applicable.

Example:

"example-namespace"

filter
object

If specified, the metadata filter here will be used to select the vectors to delete. This is mutually exclusive with using delete_all=True. See Delete data.

Response

A successful response.

The response for the delete operation.