Outline Wiki icon

Outline Wiki

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

Document → Restore

AI-generated

Summary

Restore an archived or deleted document in the Outline Wiki, optionally specifying a target collection or a specific revision to restore to.

Inputs

  • Document ID (required) — The UUID or URL slug (urlId) of the document to restore.
  • Additional Fields — Optional parameters including Target Collection ID (UUID of the collection to restore the document into) and Revision ID (UUID of a specific revision to restore to).

Output shape

a single JSON object representing the restored document's data as returned by the Outline Wiki API

Uses the /documents.restore endpoint. Returns the API JSON response about the restored document.

Examples

Example 1: Restore a deleted document by its UUID

Provide the Document ID; leave Additional Fields empty to restore to original location.

Example 2: Restore a document to a different collection and specific revision

Provide Document ID and set Target Collection ID and Revision ID in Additional Fields to restore accordingly.

Links

Discussion