server task virtualhost delete
To delete a virtual host junction run...
server task instance-webseald-host virtualhost delete vhost_label
Requires administrator ID and password.
The vhost junction cannot be deleted if a second vhost junction refers to it through the -g option. An error message is returned at such an attempt.
Options
- instance-webseald-host
- Full server name of the installed WebSEAL instance. Where...
instance WebSEAL instance name webseald WebSEAL service host host name of the physical machine where WebSEAL server is installed For example: default-webseald-abc.ibm.co. and web2-webseald-abc.ibm.com.
- vhost_label
- Label name of the virtual host junction.
Authorization
Users and groups that require access to this command must be given the c (control) permission in the ACL that governs the /WebSEAL/host-instance/@vhost_label object. For example, the sec_master administrative user has permission by default.
Return codes
- 0
- The command completed successfully. For WebSEAL server task commands, the return code becomes 0 when the command is sent to the WebSEAL server without errors. Even if the command was successfully sent, the WebSEAL server might not be able to successfully complete the command and can return an error message.
- 1
- The command failed. See "Error messages" in the IBM Knowledge Center which provides a list of the ISAM error messages by decimal or hexadecimal codes.
Examples
The following example deletes the virtual host junction support-vhost-https from the WebSEAL server abc.ibm.com:pdadmin> server task default-webseald-abc.ibm.com virtualhost delete support-vhost-https
See also
server task virtualhost add
server task virtualhost create
server task virtualhost list
server task virtualhost remove
server task virtualhost showParent topic: Command reference