v84

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-0985248447.1 KB
Knowledge bases

Delete Document

Delete an existing document from a knowledge base.

delete/v1/knowledge-bases/{knowledge_base_id}/documents

Path parameters

knowledge_base_idstring uuid required

Unique knowledge base ID.

Unique knowledge base ID.

Query parameters

organization_idstring uuid nullable

Organization scope for API keys that can access multiple organizations.

Organization scope for API keys that can access multiple organizations.

Request body

namestring required

Document path to delete.

Response

Successful Response

messagestring required

Operation result message.

namestring required

Document name.

pathstring required

Document path.

folderstring nullable

Document folder path.