Import website from archive
agency-hosting_importWebsiteFromArchiveV1Import website content from an uploaded archive (zip, tar, tar.gz, tgz) into an Agency Plan site, replacing existing files with the archive contents. Provide website UID and archive filename.
Instructions
Imports an Agency Plan website from an already-uploaded archive.
Upload the archive to the website's root directory via file browser first, then provide its filename in this request. Website contents are overwritten by the archive contents. Supported archive types: .zip, .tar, .tar.gz, .tgz.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| website_uid | Yes | Agency Plan website UID | |
| archive_name | Yes | Archive filename (e.g., archive.zip). The file must already be uploaded to the website's .h5g/ directory. |