outline icon

outline

Interact with outline API

Actions107

Documents → Documents Restore

AI-generated

Summary

Restore a deleted or archived document in Outline, with options to specify a target collection or revision ID.

Inputs

  • id (required) — Unique identifier for the document (UUID or urlId).
  • collectionId — Identifier for the collection to restore the document to.
  • revisionId — Identifier for the revision to restore the document to.
  • requestOptions — Advanced request settings including batching, proxy, timeout, and SSL options.

Output shape

a single record

Returns the restored document object details from the Outline API.

Examples

Example 1: Restore a document using its ID

Id: 'hDYep1TPAM'

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

Id: 'hDYep1TPAM', Collection Id: 'col_12345', Revision Id: 'rev_67890'

Links

Discussion