restore_file_version
Revert a CMS file to an earlier saved version by overwriting it with that version's content. Omit version_id to use the latest snapshot.
Instructions
Roll a CMS file back to a saved version in one step: reads the version's content and writes it back to the file. Omit version_id to restore the most recent snapshot. Tip: save_file_version on the current content first if you want an undo point.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version_id | No | Which version to restore (from get_file_versions). Omit = latest snapshot. | |
| cms_file_id | Yes | CMS file ID to restore |