IAM 身份中心-查询绑定关系ID:请求示例

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

请求示例

根据用户ID和用户组ID,查询对应的关联关系ID。

POST https://{hostname}/v1/identity-stores/{identity_store_id}/group-memberships/retrieve-group-membership-id

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