The vhostRedeploy Web API Method
Redeploy a virtual host to all servers.
Version: 1.6
Required Permissions: Read only
HTTP method: POST
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  | 
                                    
                                         Required virtual host ID was not found.  | 
                                
| 
                                         406  | 
                                    
                                         vhostIsNotManaged  | 
                                    
                                         The requested virtual host is not managed by Zend Server and cannot be redeployed.  | 
                                
Example
| 
                                             
                                                  | 
                                        
                                            Request
 Response
  | 
                                    
                            
                        