Update knowledge base document

Update the name and/or content of a document.

Pfadparameter

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

Header

xi-api-keystringOptional

Anfrage

This endpoint expects an object.
namestringOptional>=1 character

A custom, human-readable name for the document.

contentstringOptional

Updated content for the document. Only supported for text documents, URL documents with auto-sync disabled, and file documents.

Antwort

Successful Response
urlobject
OR
fileobject
OR
textobject
OR
folderobject

Fehler

422
Documents Update Request Unprocessable Entity Error