Update knowledge base document

Update the name and/or content of a document.

Paramètres de chemin

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

En-têtes

xi-api-keystringOptionnel

Requête

This endpoint expects an object.
namestringOptionnel>=1 character

A custom, human-readable name for the document.

contentstringOptionnel

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

Réponse

Successful Response
urlobject
OR
fileobject
OR
textobject
OR
folderobject

Erreurs

422
Documents Update Request Unprocessable Entity Error