IAM 身份中心-查询用户是否为用户组成员:请求示例

时间:2024-09-13 17:36:20

请求示例

根据用户ID和用户组ID列表,查询用户是否为用户组的成员。

POST https://{hostname}/v1/identity-stores/{identity_store_id}/is-member-in-groups

{
  "group_ids" : [ "0efaa0db-6aa4-7aaa-6aa5-c222aaaaf31a" ],
  "member_id" : {
    "user_id" : "ac6aa714-daa7-1aaa-aaa2-6715aaaa4dd9"
  }
}
support.huaweicloud.com/api-identitycenter/IsMemberInGroups.html