Artboard
Deployments

Undo a Sub-Deployment

POST
/otto/api/deployment/undo

Restores the backup created before the given deployment Id to the state before the deployment was started.

Request Body

POST /otto/api/deployment/undo Request body

application/json
  1. body
id*integer
Range0 < value <= 9007199254740991
transferContainerData?boolean
Defaultfalse

Response Body

POST /otto/api/deployment/undo Positive response

application/json
  1. response
messages*array<>
response*|
Example Request
curl -X POST 'https://your.server.net/otto/api/deployment/undo' \  -H 'Content-Type: application/json' \  -d '{  "id": 1}'
Example Response
{  "messages": [    {      "code": 0,      "text": "ok"    }  ],  "response": {}}

Was this page helpful?