Revert page to a revision
revert_page_revisionRevert a page's draft to a previous revision. Creates a NEW draft revision whose content is copied from the given revision, making it the latest draft head. The given revision itself is not modified, and the published revision is unaffected until you publish. Every unpublished edit in the current draft is left behind.
Use get_page_revisions to find the revision to revert to (e.g. the currently published revision). To undo only the last few saves of the current draft, use revert_page_revision_to_version instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | The project ID | |
| revisionId | Yes | The revision ID to revert to (from get_page_revisions or page.publishedRevisionId) |