Hello, How can I delete only the domain alias via the remote.api? I try with "virtual-server/remote.cgi?program=delete-domain&domain=domain_alias_name&user=username" but it deletes the domain too? Thanks.
Howdy,
The problem may be in passing in the user... you shouldn't need that parameter.
Using the command line API, I just tested that this successfully deletes an alias, and not the parent domain:
virtualmin delete-domain --domain test2.com
That was the problem. Thank you!
Howdy,
The problem may be in passing in the user... you shouldn't need that parameter.
Using the command line API, I just tested that this successfully deletes an alias, and not the parent domain:
virtualmin delete-domain --domain test2.com
That was the problem. Thank you!