Artboard
Deployments

Rename a Sub-Deployment

PUT
/otto/api/deployment/{id}/rename

Path Parameters

id*integer

PUT /otto/api/deployment/:id/rename Parameter

Range0 < value <= 9007199254740991

Request Body

PUT /otto/api/deployment/:id/rename Request body

application/json
  1. body
name*string

Response Body

PUT /otto/api/deployment/:id/rename Positive response

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

Was this page helpful?