Outline Wiki icon

Outline Wiki

Interact with the Outline Wiki API — documents, collections, comments, attachments, users, shares

Document → Update

AI-generated

Summary

Update the specified document's properties such as title, body content in Markdown, publish status, and layout width in the Outline Wiki.

Inputs

  • Document ID (required) — UUID or URL slug identifying the document to update.
  • Update Fields — Fields to modify in the document; may include updated title, Markdown body content, publish flag, and full-width display option.

Output shape

a JSON object representing the updated document details

Returns the JSON response from the Outline Wiki API after updating the document. If an error occurs and continueOnFail is enabled, returns an error object instead.

Examples

Example 1: Update the title and publish the document

Set Document ID to the target document's UUID; set Update Fields to specify a new title and publish=true.

Example 2: Update the document body content and set it to draft

Set Document ID; set Update Fields with new Markdown text and publish=false.

Links

Discussion