Migrations

cPanel: move the account's mail to Hostingsurge's mail service: each domain in Email (its ownership TXT record until published), its mailboxes (old passwords carried from a backup where their format allows, otherwise new ones in this answer once), its forwarders as aliases and the catch-all, and the messages copied from the backup in the background. Can run again: what exists is kept

post/migrations/{migrationId}/mail

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/migrations/{migrationId}/mail
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

migrationIdstring uuid required
Example:3f2b8a4e-5c1d-4e8f-9a7b-2c6d1e0f4a5b

Request body

domainsstring[]

The mail domains to move (default: every one found)

passwords'carry' | 'new'

carry (default for a backup): each mailbox keeps its old password where its format allows (SHA-512/SHA-256/MD5 crypt, bcrypt), the others get a new one; new: every mailbox gets a new password. A live connection cannot read passwords: always new. New passwords are in the answer once, never stored or shown again

copyMessagesboolean

Copy the messages from the backup (default true): a background copy, its progress in mailMove

Response

The import with its mailMove, and the new passwords (shown once)

Changes

No recorded changes to this operation across all 1 revision of this API.