ghl_kb_delete_file
Deletes an uploaded file from a knowledge base so the AI no longer uses it. Use it to remove documents by file ID after locating the ID.
Instructions
Delete a file from knowledge base Deletes one uploaded file from the authenticated location so the AI no longer uses it. WHEN TO USE: use this when you need to remove a document; use getFilesByKnowledgeBasePublic to find the file id; use deleteTrainedUrlsForKnowledgeBase for crawled pages instead. RETURNS: whether the delete succeeded. Endpoint: DELETE /knowledge-bases/files/{fileId} (Version header: v3; source: v3/knowledge-base-v3.json) Requires a Sub-Account (location) token. OAuth scopes: knowledge-bases.write
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | File ID to delete |