Domains are deleted using the asadmin delete-domain
command. Only the operating system user (or root) who can administer the domain can execute this command successfully. To delete a domain named mydomain
, for example, type the following command:
$ asadmin delete-domain mydomain