Remove the list of virtual hosts currently used by the web server and information about each virtual host. Names will be mandatory parameter, otherwise the error will be return.
Version: 1.6
Required Permissions: Read-only
HTTP method: POST
Supported by Editions: Zend Server
Request Parameters:
Parameter |
Type |
Required |
Description |
vhosts |
Array |
Yes |
List of virtual hosts IDs to be removed. |
Expected Response Code: 200 OK - For more information see Response Format.
Response Type: vhostList
Possible Action Specific Error Codes:
HTTP Code |
Error Code |
Description |
404 |
noSuchVhost |
Required virtual host ID was not found. |
406 |
vhostIsNotManaged |
The requested virtual host is not managed by Zend Server and cannot be redeployed. |
406 |
virtualHostHasDependents |
This virtual host has applications that depend on it, and therefore cannot be removed. |
|
Request
Response
|