hosting_importWordPressWebsiteV1
Restore a WordPress website to a domain using uploaded archive and database files. This replaces all existing website content permanently.
Instructions
Import WordPress website to the specified domain.
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 import a WordPress website from archive and database files that have been uploaded to the website's directory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name | |
| sql_path | Yes | Path to the database SQL file (relative to website root) | |
| username | Yes | username parameter | |
| archive_path | Yes | Path to the WordPress archive file (relative to website root) |