delete-domain [--domaindir install_dir/domains] [--terse=false] [--echo=false] domain_name
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.
asadmin> delete-domain --domaindir /export/domains sampleDomain Domain sampleDomain deleted
Where: the sampleDomain domain is deleted from the /export/domains directory.