Update knowledge base document

Update the name and/or content of a document.

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

Żądanie

This endpoint expects an object.
namestringOpcjonalny>=1 character

A custom, human-readable name for the document.

contentstringOpcjonalny

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

Odpowiedź

Successful Response
urlobject
OR
fileobject
OR
textobject
OR
folderobject

Błędy

422
Documents Update Request Unprocessable Entity Error