This CLI command removes a virtual host from Zend Server.
This table specifies the various arguments used in the command:
Abbreviated | Full | Description | Required/Optional |
-i |
--vhostId |
The ID of the virtual host. |
Optional |
This table lists arguments common to all zs-manage commands:
Abbreviated | Full | Description | Required/Optional |
-N |
--key-name |
WebAPI key name. |
Required |
-K |
--secret-key |
WebAPI secret key. |
Required |
-U |
--server-url |
Zend Server URL. Default: http://localhost:10081/ZendServer. |
Required - when action is performed on a remote server. |
-h |
--help |
Show usage information and exit. |
Optional |
|
|
|
To use vhost-remove:
/usr/local/zend/bin/zs-manage vhost-remove --help
/usr/local/zend/bin/zs-manage vhost-remove -i <vhost ID> -N <existing key name> -K <existing key secret> The virtual host is removed. vhostInfo 2 myvhost 444 false Ok |
|
|