ardameh

Registered
Dec 8, 2012
3
0
1
cPanel Access Level
Reseller Owner
hi
i want to delete all sub-domain that created with a hacker
more than 200 sub-domain ...

please help me to do this in cpanel
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,911
2,234
363
Hello :)

There are no native options available to delete multiple subdomains at the same time in cPanel/WHM. Instead, you can utilize our API to develop a custom script. Our subdomain API is documented at:

SubDomain Module Documentation

You can utilize this information to write a script based off of the following post:

Bulk Addon Domain Removal

This post was intended for addon domain names, so you will have to modify the script so that it uses the functions for subdomains.

Thank you.