Outline Wiki icon

Outline Wiki

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

Document → Move

AI-generated

Summary

Move a document to a different collection or under a new parent document within the Outline Wiki.

Inputs

  • Document ID (required) — UUID or URL slug of the document to move.
  • Collection ID — UUID of the collection to move the document into. Optional if moving under a new parent document.
  • Parent Document ID — UUID of the new parent document under which to move the document. Omitting this moves the document to the root of the specified collection.

Output shape

a JSON object representing the moved document or the API response indicating the move result

The output is the direct response from the Outline API's /documents.move endpoint, returned as a JSON object. No pagination or additional wrapping is applied.

Examples

Example 1: Move a document to a different collection root

Set 'Document ID' to the target document, set 'Collection ID' to the destination collection UUID, leave 'Parent Document ID' empty.

Example 2: Move a document under a new parent document

Set 'Document ID' to the target document, optionally set 'Collection ID' if moving to a different collection, and set 'Parent Document ID' to the new parent document's UUID.

Links

Discussion