Swagger: Update Document
swagger_update_documentUpdate an existing document's content or source using HTML or Markdown. Specify document ID, content, type, and source.
Instructions
Update the content or source of an existing document. Supports both HTML and Markdown content types.
Toolset: Documents
Parameters:
documentId (string) required: Document UUID - unique identifier for the document
content (string): The document content to update (HTML or Markdown based on document type)
type (enum): Content type of the document. Note: documents with type 'html' and source 'internal' cannot be edited via API — only 'html' + 'external' and all 'markdown' combinations are supported.
source (enum): Where the document content is managed. 'internal': editable in both portal UI and API. 'external': editable via API only. Note: 'html' + 'internal' documents cannot be updated via API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Content type of the document. Note: documents with type 'html' and source 'internal' cannot be edited via API — only 'html' + 'external' and all 'markdown' combinations are supported. | |
| source | No | Where the document content is managed. 'internal': editable in both portal UI and API. 'external': editable via API only. Note: 'html' + 'internal' documents cannot be updated via API. | |
| content | No | The document content to update (HTML or Markdown based on document type) | |
| documentId | Yes | Document UUID - unique identifier for the document |