Delete one or more virtual servers.
To delete one or many servers (and all of their sub-servers and alias domains) from the system, use this program. The domains to remove can be specified with the --domain
flag, must can be given multiple times. Alternately, you can select virtual servers by username, using the --user
flag.
The --only
option can be used to not actually delete the servers, but instead simply remove them from the control of Virtualmin.
Be careful with this program, as unlike the server deletion function in the Virtualmin web interface, it will NOT prompt for confirmation!
Command Line Help
Deletes an existing Virtualmin virtual server and all sub-servers, mailboxes and alias domains. virtualmin delete-domain [--domain domain.name]* [--user username]* [--only]