Restore a version into the draft
POST/v1/builder/versions/:number/restore
Copies a published version into the draft, replacing its pages — to keep editing from an older version. Nothing goes live: the portal changes only when the draft is published. (Putting an older version on the air is .../rollback.) revision is optional: sent and stale, it answers 409.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 429
- 500
Draft holding the version’s pages: the new revision, the restored number and how many pages.
Request body failed validation.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation.
Resource not found in the current organization.
The revision sent is stale: someone (or another tab) saved the draft in between. Read it again and resend.
Rate limit exceeded.
Unexpected server error.