> ## Documentation Index
> Fetch the complete documentation index at: https://developers.myhero.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Restore document version

> Restore a saved version of a document, as the version history in the editor does: the version's content replaces what the document says now. Only when the…

`restore_document_version`

Restore a saved version of a document, as the version history in the editor does: the version's content replaces what the document says now. Only when the user asks to restore or go back to a version. A signed document, or one out for signature, can't be restored. undo\_last\_change undoes the restore.

## Parameters

**documentId** `string` *required*

The HERO document.

**versionId** `string` *required*

The version, from list\_document\_versions.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.