Roll back a site
rollback_siteRoll back your live site to any earlier published version instantly using the site slug and version ID.
Instructions
Flip a previously-published version of a site live again, instantly. Every publish is a version; pass the versionId to roll back to. Requires an API key (owned sites only).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The site slug to roll back. | |
| versionId | Yes | The version id to make live (from an earlier publish). | |
| apiKey | No | shiply API key (shp_…). Falls back to SHIPLY_API_KEY. |