Artboard
Deployments

Rename a Deployment

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

Path Parameters

batchId*integer

PUT /otto/api/deployment/batches/:batchId/rename Parameter

Range0 < value <= 9007199254740991

Request Body

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

application/json
  1. body
name*string

Response Body

PUT /otto/api/deployment/batches/:batchId/rename Positive response

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

Was this page helpful?