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.
// Auth ID and Password
2. In the "CLOUD_MASTER" variable you have to enter the domain name of the master domain of the cloud.
When you are ready with your configuration, you can run the script with the following command:
The script will output the number of cloud domains, that were deleted.