Skip to main content
Pinecone Docs

Search documentation

Type to search this documentation.

On this pageOverview

Delete a source file

Remove one file from the source tree. Its index entries survive until the next curate.

DELETE /contexts/{slug}/source/delete/{path}

  • slug (path, string, required) — Context slug or UUID.
  • path (path, string, required) — Relative path within the tree. Matches greedily, so it may contain /.
  • X-Pinecone-Api-Version (header, string) — Date-based contract version, echoed back on the same header. Omit for the default (2026-07); send unstable for the in-development surface. An unrecognized value is rejected with 400 unsupported_api_version.
  • 200 — Deleted
  • 404 — Not found
Suggest an edit

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

Export
Documentation menu