智能数据洞察 DATAARTS INSIGHT-批量保存、修改、删除协同授权:请求示例

时间:2024-08-05 11:34:07

请求示例

批量保存、修改、删除指定自研的协同授权规则。

POST https://{endpoint}/v1/xxxx3ab4dac4055888643b331axxxx/authorization/cooperate-authorization/rules/batch-save
[ {
  "auth_id" : "de9cb4xxxx4b0ba2887b80dc18d273",
  "auth_level" : "user",
  "authority" : "edit",
  "resource_id" : "d0d7919c-xxxx-462e-xxxx-da82bf8be44e",
  "resource_type" : "dashboard"
}, {
  "auth_id" : "de9cb4axxxxa2887b80dc18d273",
  "auth_level" : "user",
  "authority" : "edit,export",
  "resource_id" : "d0d7919c-4e87-xxxx-xxxx-da82bf8be44e",
  "resource_type" : "dashboard"
} ]
support.huaweicloud.com/api-dataartsinsight/BatchSaveAuth.html