Deploy static site archive
hosting_deployStaticSiteArchiveV1Deploy a static website from an uploaded archive, replacing the current site contents. Use when you have a pre-built HTML/CSS/JS archive ready to go live.
Instructions
Deploy a static application from an archive file.
WARNING: this overwrites the website's existing contents and cannot be undone — verify this is intended before calling this endpoint.
This endpoint allows you to deploy a static application from an archive file that has been uploaded to the website's directory.
This only works for static sites (pre-built HTML/CSS/JS with no build step). For
Node.js applications, use Create NodeJS build from archive instead, or
Start Node.js build if the archive is already uploaded. For WordPress sites,
use Import WordPress website.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name | |
| username | Yes | username parameter | |
| archive_path | Yes | Relative path to the archive file from website root directory |