DELETE
/
bulk
/
imports
/
{id}
from pinecone import Pinecone

pc = Pinecone(api_key="YOUR_API_KEY")

# To get the unique host for an index, 
# see https://docs.pinecone.io/guides/data/target-an-index
index = pc.Index(host="INDEX_HOST")

index.cancel_import(id="101")
{}

This feature is in public preview and available only on Standard and Enterprise plans.

from pinecone import Pinecone

pc = Pinecone(api_key="YOUR_API_KEY")

# To get the unique host for an index, 
# see https://docs.pinecone.io/guides/data/target-an-index
index = pc.Index(host="INDEX_HOST")

index.cancel_import(id="101")
{}

Authorizations

Api-Key
string
header
required

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

Path Parameters

id
string
required

Unique identifier for the import operation.

Required string length: 1 - 1000

Response

200
application/json
Operation cancelled successfully

The response for the cancel_import operation.