部署 CODEARTS DEPLOY-查询环境权限:响应示例

时间:2024-06-27 10:17:47

响应示例

状态码: 200

权限数据,list类型数据

[ {
  "region" : "region",
  "id" : 99213234,
  "name" : "环境创建者",
  "role_id" : "0",
  "devuc_role_id_list" : null,
  "environment_id" : "be3e9690d6f64b23b54e79cd02c4b156",
  "can_view" : true,
  "can_edit" : true,
  "can_delete" : true,
  "can_deploy" : true,
  "can_manage" : true,
  "create_time" : "2024-06-21 17:23:55.0",
  "update_time" : "2024-06-21 17:23:55.0",
  "role_type" : "environment-creator"
}, {
  "region" : "region",
  "id" : 99213235,
  "name" : "项目管理员",
  "role_id" : "a2e65d2647574f8491cac659a0249d24",
  "devuc_role_id_list" : null,
  "environment_id" : "be3e9690d6f64b23b54e79cd02c4b156",
  "can_view" : true,
  "can_edit" : true,
  "can_delete" : true,
  "can_deploy" : true,
  "can_manage" : true,
  "create_time" : "2024-06-21 17:23:55.0",
  "update_time" : "2024-06-21 17:23:55.0",
  "role_type" : "project"
} ]
support.huaweicloud.com/api-deployman/ListEnvironmentPermissionsV2.html