Restore version
Put a page back as it was in a saved version. Send the page’s current version as baseVersion; the restore itself is saved as a new version, so nothing is lost.
POST
/v1/w/{workspace}/pages/{id}/versions/{versionId}/restoreSend an Idempotency-Key. This may answer 202 while it waits for approval.
Path parameters
workspacestringrequiredYour workspace’s address name.
idstringrequiredThe page’s id, like pg_…, from List pages.
versionIdstringrequiredThe version to go back to.
Headers
Idempotency-Keystring8–100 characters. Repeat the same key and body to get the first outcome back instead of writing twice.
Body
baseVersionintegerrequiredThe page’s current version, from Get page.
Response
pageobjectrequiredDetails
Restore a saved page version with a current-version check.