Delete knowledge base document

Delete a document or folder from the knowledge base.

Path parameters

documentation_idstringRequired
The id of a document from the knowledge base. This is returned on document addition.

Headers

xi-api-keystringOptional

Query parameters

forcebooleanOptionalDefaults to 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.

Response

Successful Response

Errors