Use the delete-domain command to delete the named domain. The domain must already exist and must be stopped.
This command is supported in local mode only.
The directory where the domain to be deleted is located. If specified, the path must be accessible in the filesystem. If not specified, the domain in the default install_dir/domains directory is deleted.
Indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-formatted data for consumption by a script. Default is false.
Setting to true will echo the command line statement on to the standard output. Default is false.
If set to true (default), only the required options are prompted.
asadmin> delete-domain --domaindir /export/domains sampleDomain deleted domain sampleDomain successfully
Where: the sampleDomain domain is deleted from the /export/domains directory.