The configurationsRevertChanges Web API Method
Revert the configuration on a given server to their default settings.
Version: 1.3
Required Permissions: Full
HTTP method: POST
Supported by Editions: All
Request Parameters:
Parameter |
Type |
Required |
Description |
serverId |
Integer |
Yes |
ID of the server that needed to be reverted to blueprint |
doRestart |
Boolean |
No |
Should a restart be performed after the changes were reverted. |
Expected Response Code: 200 OK. For more information see Response Format.
Response Type: Success status.
Possible Action Specific Error Codes:
HTTP Code |
Error Code |
Description |
404 |
noSuchServer |
ID of the server that needed to be reverted to blueprint. |
Example
|
Request (headers removed for clarity)
Response
|
Important Note:
For Zend Server on Linux, this action is also available via the command line using CLI tools. For more information, see ZendServerSDK.