Restore an earlier version
restore_page_versionRestore a Wiki.js page to an earlier stored version while preserving the current content as a new history entry. Use confirmation token to complete.
Instructions
Rolls a page back to a stored version. The current content is not lost — it becomes another entry in the history — but the live page is replaced. Requires a confirmation token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | Numeric Wiki.js id. | |
| version_id | Yes | Version id from list_page_history. | |
| confirm_token | No | Token from this tool’s previous, unconfirmed call. Omit it to receive one. |