Path Parameters
knowledgebaseIdinteger required
The unique identifier of the knowledgebase
documentId integer required
The unique identifier of the document to update
Request Body
namestring
The new name for the document (max 255 characters)
description string
The new description for the document (max 255 characters)
Response
messagestring
Success message
data object
The updated document object
data properties
id integer
The unique identifier of the document
name string
The name of the document
description string
Description of the document
type string
Document type
type_label string
Human-readable type label
status string
Processing status
status_label string
Human-readable status label
updated_at string
ISO 8601 timestamp of last update
200 Response
404 Knowledgebase Not Found
404 Document Not Found
422 Validation Error
To update the content of a document, you need to delete the existing document and create a new one with the updated content.

