Skip to main content
Pinecone Docs

Search documentation

Type to search this documentation.

On this pageOverview

Delete an index

curl
PINECONE_API_KEY="YOUR_API_KEY"

curl -i -X DELETE "https://api.pinecone.io/indexes/docs-example" \
  -H "Api-Key: $PINECONE_API_KEY" \
  -H "X-Pinecone-Api-Version: 2025-10"

DELETE /indexes/{index_name}

  • X-Pinecone-Api-Version (header, string, required) — Required date-based version header
  • index_name (path, string, required) — The name of the index to delete.
  • 202 — The request to delete the index has been accepted.
  • 401 — Unauthorized. Possible causes: Invalid API key.
  • 403 — Forbidden. Deletion protection enabled.
  • 404 — Index not found.
  • 412 — There is a pending collection created from this index.
  • 500 — Internal server error.
Suggest an edit

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

Export
Documentation menu