Rename Deployment
Rename a deployment.
Authorization: caller must own the deployment.
Authorization
OAuth2AuthorizationCodeBearer AuthorizationBearer <token>
In: header
Path Parameters
deployment_id*Deployment Id
Format
uuidQuery Parameters
verify_locally?Verify Locally
Default
trueRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://example.com/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/name" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'Empty
{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}