Delete knowledge base document

Delete a document or folder from the knowledge base.

Parametry ścieżki

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

Nagłówki

xi-api-keystringOpcjonalny

Parametry zapytania

forcebooleanOpcjonalnyDomyślnie 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.

Odpowiedź

Successful Response

Błędy

422
Documents Delete Request Unprocessable Entity Error