restore_file_version
Roll back a CMS file to a saved version by reading the snapshot content and writing it back to the file. Omit the version ID to use the most recent 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 |