commadmin domain delete -D login -d domain name -n domain -w password [-h] [-?] [-i inputfile] [-p AM port] [-s] [-S service] [-v] [-V] [-X AM host]
The following options are mandatory:
Option |
Description |
---|---|
-D login |
The user ID of the top-level administrator. |
-d domain name |
The DNS domain name that is being deleted. If -d is not specified, the domain specified by -n is used. |
-n domain |
The domain of the top-level administrator. |
-w password |
The password of the top-level administrator. |
The following options are non-mandatory:
Option |
Description |
---|---|
-h, -? |
Prints command usage syntax. |
-i inputfile |
Reads the command information from a file instead of the command line. |
-p AM port |
Specifies an alternate TCP port where the Access Manager is listening. If not specified, the default AM port is used, or Port 80 is used if no default was configured during installation. |
-s |
Use SSL (Secure Socket Layer) to connect to the Access Manager. |
-S service |
Modifies the value of the specified service status attribute value to ”deleted’. Multiple services are separated by a comma. The valid service values are mail and cal. These values are case-insensitive. |
-v |
Enable debugging output. |
-V |
Prints information about the utility and its version. |
-X AM host |
Specifies the host on which the Access Manager is running. If not specified, the default AM host is used, or the localhost if no default was configured at install time. |
To delete an existing domain:
commadmin domain delete -D chris -w bolton -d florizel.com -n sesta.com |
To delete just the mail service from the florizel.com domain:
commadmin domain delete -D chris -w bolton -d florizel.com -n sesta.com \ -S mail |