update-wiki-page
Updates a Dooray wiki page's title and/or markdown content; provide the current subject even for content-only edits to avoid API errors.
Instructions
Update wiki page title and/or content.
Required: wikiId, pageId, subject Optional: content, referrers
IMPORTANT - subject is required:
Even when only updating content, subject MUST be provided
Without subject, API returns 400 error ("Requested subject can not be null")
If you want to keep the existing title, first call get-wiki-page to get the current subject, then include it in the update
Workflow for content-only update:
Call get-wiki-page with wikiId and pageId to get current page info
Call update-wiki-page with the existing subject and new content
Set referrers to null to clear all referrers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | Page ID (required) | |
| wikiId | Yes | Wiki ID (required) | |
| content | No | New page content in markdown (optional) | |
| subject | No | Page title (required by API even for content-only updates) | |
| referrers | No | Referrers (watchers). Set to null to clear all. |