Delete knowledge base document

Delete a document or folder from the knowledge base.

路径参数

documentation_idstring必需
The id of a document from the knowledge base. This is returned on document addition.

请求头

xi-api-keystring可选

查询参数

forceboolean可选默认为 false

If set to true, the document or folder will be deleted regardless of whether it is used by any agents and it will be removed from the dependent agents. For non-empty folders, this will also delete all child documents and folders.

响应

Successful Response

错误

422
Documents Delete Request Unprocessable Entity Error