Artboard
Deployments

Rename a Deployment

PUT
/otto/api/deployment/batches/{batchId}/rename

Request Body

application/json

PUT /otto/api/deployment/batches/:batchId/rename Request body

id*integer
Formatint64
Range0 < value <= 9007199254740991
name*string

Response Body

application/json

application/json

curl -X PUT "https://your.server.net/otto/api/deployment/batches/{batchId}/rename" \  -H "Content-Type: application/json" \  -d '{    "id": 9007199254740991,    "name": "string"  }'
{
  "response": {
    "success": true
  },
  "messages": [
    {
      "code": 0.1,
      "text": "ok"
    }
  ]
}
{
  "response": {},
  "messages": [
    {
      "code": 18011,
      "text": "OttoFMS sample error"
    }
  ]
}