Artboard
Deployments

Rerun a Deployment or Sub-deployment

Rebuilds the original deployment input and reruns the deployment with the same options. Can be used to rerun a full deployment or a specific sub-deployment

POST
/otto/api/deployment/rerun

Request Body

application/json

POST /otto/api/deployment/rerun Request body

Response Body

application/json

application/json

curl -X POST "https://your.server.net/otto/api/deployment/rerun" \  -H "Content-Type: application/json" \  -d '{    "type": "deployment",    "id": 9007199254740991,    "scheduled": true,    "timestamp": "string"  }'
{
  "response": {
    "started": true,
    "batchId": 9007199254740991,
    "subDeploymentIds": [
      9007199254740991
    ]
  },
  "messages": [
    {
      "code": 0.1,
      "text": "ok"
    }
  ]
}
{
  "response": {},
  "messages": [
    {
      "code": 18011,
      "text": "OttoFMS sample error"
    }
  ]
}