Bulk delete knowledge base documents

Delete multiple documents or folders from the knowledge base. Each id succeeds or fails independently.

Header

xi-api-keystringOptional

Anfrage

This endpoint expects an object.
document_idslist of stringsErforderlich
The ids of documents or folders from the knowledge base.
forcebooleanOptionalStandardwert ist false

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

Antwort

Successful Response
successobject
OR
failureobject

Fehler

422
Documents Bulk Delete Request Unprocessable Entity Error