Skip to main content
Pinecone Docs
current

Search documentation

Type to search this documentation.

Cancel an import

Cancel an import operation if it is not yet finished. It has no effect if the operation is already finished.

For guidance and examples, see Import data.

curl
# 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 -X DELETE "https://$INDEX_HOST/bulk/imports/101" \
  -H 'Api-Key: $PINECONE_API_KEY' \
  -H "X-Pinecone-Api-Version: 2026-07"

DELETE /bulk/imports/{id}

200
{}
400
{
  "code": 123,
  "message": "<string>",
  "details": [
    {
      "typeUrl": "<string>",
      "value": "<string>"
    }
  ]
}
4XX
{
  "code": 123,
  "message": "<string>",
  "details": [
    {
      "typeUrl": "<string>",
      "value": "<string>"
    }
  ]
}
5XX
{
  "code": 123,
  "message": "<string>",
  "details": [
    {
      "typeUrl": "<string>",
      "value": "<string>"
    }
  ]
}
Api-Keystringrequired

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

X-Pinecone-Api-Versionstringrequired

Required date-based version header

Typestring
Default2026-07
idstringrequired

Unique identifier for the import operation.

Required string length: 1 - 1000

Typestring

200 — Operation cancelled successfully

response?object

The response for the cancel_import operation.

Typeobject
Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu