Delete Cloud domains

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
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.


define("CLOUD_MASTER", "");


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.

Possible problems

  • If your API user ID or Password is incorrect, you will get an error message.
  • If you have entered an invalid master domain in the "CLOUD_MASTER", the cloud domains wont be deleted.

Last modified: 2019-07-04
Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more