The vhostGetDetails Web API Method
Get the list of virtual hosts currently used by the web server and full information about each virtual host.
Version: 1.6
Required Permissions: Read-only
HTTP method: GET
Supported by Editions: Zend Server
Request Parameters:
Parameter |
Type |
Required |
Description |
vhost |
Integer |
Yes |
The ID of a single virtual host. |
Expected Response Code: 200 OK - For more information see Response Format.
Response Type: vhostDetails
Possible Action Specific Error Codes:
HTTP Code |
Error Code |
Description |
404 |
noSuchVhost |
One or more of the requested virtual hosts does not exist. |
Example
|
Request
Response
|