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}
Parameters
Section titled “Parameters”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); sendunstablefor the in-development surface. An unrecognized value is rejected with400 unsupported_api_version.
Responses
Section titled “Responses”200— Deleted404— Not found