Skip to main content
DELETE
Delete a source file

Authorizations

Authorization
string
header
required

Session token from POST /auth/login, sent as Authorization: Bearer <token>.

Headers

X-Pinecone-Api-Version
string
default:2026-07

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.

Path Parameters

slug
string
required

Context slug or UUID.

path
string
required

Relative path within the tree. Matches greedily, so it may contain /.

Response

Deleted

Confirmation naming the file that was removed.

deleted
boolean
required

Whether the file was removed.

path
string
required

The path that was removed.