Skip to main content
DELETE
Delete a knowledge file

Authorizations

Authorization
string
header
required

Bearer token in the Authorization header — for example, Authorization: Bearer trv_ak_your_api_key_here. Each key is bound to a specific user and organization.

Headers

If-Match
string

Strong ETag from the current file metadata. The delete returns 412 Precondition Failed if the validator is stale.

Path Parameters

file_path
string
required

Slash-delimited path under user_generated/ or skills/. Maximum length is 900 UTF-8 bytes, with at most 255 bytes per path segment.

Response

Knowledge file deleted.