Agency Hosting: Files
Import Agency Plan website from archive
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.
post/api/agency-hosting/v1/websites/{website_uid}/files/import-archive
Path parameters
website_uidstring required
Example:zpwlGlp19
Agency Plan website UID
Request body
Example request
{
"archive_name": "archive.zip"
}Response
Success empty response
Example response
{
"message": "Request accepted"
}