Actions31
Document → Move
AI-generatedSummary
Move a specified document to a different collection or under a new parent document within the Outline Wiki.
Inputs
- Document ID (required) — Document UUID or URL slug identifying the document to move.
- Collection ID — UUID of the target collection to move the document into (optional).
- Parent Document ID — UUID of the new parent document to nest this document under (omit to move to the collection root).
Output shape
a single JSON object representing the moved document or operation result
The operation sends a POST request to '/documents.move' with the specified IDs and returns the API response as JSON. If both Collection ID and Parent Document ID are omitted, the document is moved to the root of its current collection.
Examples
Example 1: Move a document with a given Document ID to a different collection.
Set Document ID to the document to move, specify Collection ID of the target collection, omit Parent Document ID.
Example 2: Move a document to be a child of another document without changing its collection.
Set Document ID of the document to move, leave Collection ID empty, specify Parent Document ID for nesting.