应用身份管理服务 ONEACCESS-删除应用侧角色成员:请求示例

时间:2024-08-30 15:55:32

请求示例

根据应用id删除应用侧角色成员,应用侧角色id为20220420144449385-C66D-E8C1D1D79,应用账号id集合为["20220415171558023-84A4-ED5C390B8", "20220414163425614-2FD6-CA9B208BE"]。

DELETE https://{domain_name}/api/v2/tenant/applications/{application_id}/role-member

Authorization: Bearer 334963fc-1e4a-473b-9096-52a929140...

{
  "role_id": "20220420144449385-C66D-E8C1D1D79",
  "account_Ids": [
    "20220415171558023-84A4-ED5C390B8",
    "20220414163425614-2FD6-CA9B208BE"
  ]
}
support.huaweicloud.com/api-oneaccess/DeleteAppRoleMember.html