Migration Functions
The below functions allow you to view and add migrations within your Reseller Central.
getMigrations
Retieve a list of the past and pending migrations performed within Reseller Central.
- Required Parameters:
- api_key (string) - Reseller Central generated API Key
- Example: https://cp.hostnine.com/api/?module=getMigrations&api_key=mygeneratedapikey
- Return: Show
addMigration
Add a new account migration to the queue in Reseller Central.
- Required Parameters:
- api_key (string) - Reseller Central generated API Key
- Use one of the following:
- domain_id (int) - primary domain id of the account to migrate
- domain (string) - primary domain of the account to migrate
- Use one of the following:
- location_id (string) - location id for the migration destination
- location (string) - location name for the migration destination
- Example: https://cp.hostnine.com/api/?module=addMigration&api_key=mygeneratedapikey
&domain=mydomainhere.com&location=(US)%20West - Return: Show