router/api-router.go:438。controller.DeleteDeployment,controller/deployment.go:469。deployment:write。同时需要满足接口的角色和业务要求。Authorization: Bearer ********************curl --location --request DELETE '/api/deployments/' \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "string",
"data": {
"property1": "string",
"property2": "string"
},
"property1": "string",
"property2": "string"
}