Make a preview permanent
promoteMake a preview permanent. Pass name to mint a NEW site from its files (slot-gated), or siteId to replace an EXISTING site’s content wholesale (address and settings unchanged) — exactly one of the two. The preview URL keeps working as a permanent redirect to the site. Works on live previews and on expired ones still in their grace window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the new site, e.g. "my-thing" → my-thing.nippy.site (may come back suffixed) | |
| siteId | No | Existing site whose content the preview replaces | |
| previewId | Yes | Preview id from publish_preview or list_sites |