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

id*integer

deployment id to rerun

Range0 < value <= 9007199254740991
type*string

Response Body

application/json

application/json

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