Deployments
Undo a Sub-Deployment
Restores the backup created before the given deployment Id to the state before the deployment was started.
Request Body
application/json
POST /otto/api/deployment/undo Request body
id*integer
Format
int64Range
0 < value <= 9007199254740991transferContainerData?boolean
Default
falseResponse Body
application/json
application/json
curl -X POST "https://your.server.net/otto/api/deployment/undo" \ -H "Content-Type: application/json" \ -d '{ "id": 9007199254740991 }'{
"response": {
"started": true,
"batchId": 9007199254740991,
"subDeploymentIds": [
9007199254740991
]
},
"messages": [
{
"code": 0.1,
"text": "ok"
}
]
}{
"response": {},
"messages": [
{
"code": 18011,
"text": "OttoFMS sample error"
}
]
}