Admin - Hosting Account Export

Export hosting account backup (JSON)

Creates a full backup of the hosting account (plan, domains, databases, mail, DNS, etc.) as JSON and returns a temporary download URL for the JSON file.

post/api/hosting-accounts/{id}/export

Path parameters

idinteger required

Request body

exclude_sensitiveboolean

Exclude or mask sensitive data (e.g. passwords)

export_reasonstring

Reason for export (audit)

export_methodstring

Export method label (e.g. manual, api)

Response

Backup created; use download_url to fetch the JSON file

messagestring
download_urlstring uri

Temporary URL to download the backup JSON (valid 5 minutes)

expires_ininteger

Seconds until download URL expires

Example response

{
  "message": "Backup created successfully",
  "expires_in": 300
}

Changes