Rollback an existing application to its previous version. This process is asynchronous, meaning the initial request will start the rollback process and the initial response will show information about the application being rolled back. You must continue checking the application status using the applicationGetStatus method until the process is
complete.
Required Permissions: full
HTTP method: POST
Supported by Editions: Zend Server, Zend Server Cluster Manager
Request Parameters:
Parameter |
Type |
Required |
Description |
appId |
String |
Yes |
The application ID you would like to rollback. |
Expected Response Code: 202 Accepted - For more information see Response Format.
Response Type: applicationInfo
Possible Action Specific Error Codes:
HTTP Code |
Error Code |
Description |
404 |
noSuchApplication |
The provided application ID does not exist. |
404 |
noRollbackAvailable |
The application cannot rollback as there is no previous version. |
Example: Request: POST /ZendServerManager/Api/applicationRollback Response: <?xml version="1.0" encoding="UTF-8"?> |
|
|
Important Note:
For Zend Server or Zend Server Cluster Manager on Mac or Linux, this action is also available via the command line using CLI Tools. For more information see CLI Tools.
|
|
Related Links: Deployment Methods |
|
|
|