With this script you can delete the cloud domains of a master domain. You can download it from here.
1. AUTH_ID should be your API user ID AUTH_PASS should be the password of your API user.
Example:
// Auth ID and Password
define("AUTH_ID", 0);
define("AUTH_PASS", "xxxxx");
2. In the "CLOUD_MASTER" variable you have to enter the domain name of the master domain of the cloud.
Example:
define("CLOUD_MASTER", "domain.com");
When you are ready with your configuration, you can run the script with the following command:
php delete-cloud-domains.php
The script will output the number of cloud domains, that were deleted.