router/api-router.go:436。controller.UpdateDeploymentName,controller/deployment.go:345。deployment:write。同时需要满足接口的角色和业务要求。Authorization: Bearer ********************curl --location --request PUT '/api/deployments//name' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "string",
"property1": "string",
"property2": "string"
}'{
"success": true,
"message": "string",
"data": {
"property1": "string",
"property2": "string"
},
"property1": "string",
"property2": "string"
}