OIGロールの表示
URI /roles/{roleid}/members GET
を使用して特定のロールに割り当てられるユーザーのリストを取得します
cURLの例
curl -H "Content-Type: application/json" -X GET -u username:password https://pseudo.com/iam/governance/selfservice/api/v1/roles/8/members?membershipType=DIRECT
GETレスポンス本文
{ "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/roles/8/members? membershipType=DIRECT&offset=1&limit=10" }, { "rel": "first", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/roles/8/members? membershipType=DIRECT&offset=1&limit=10" } ], "count": 2, "hasMore": false, "totalResult": -1, "users": [ { "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/users/24" } ], "id": "24", "userLogin": "BKIDDO", "email": "beatrix.kiddo@vision.com", "startDate": "2019-03-26T18:05:09Z" }, { "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/users/82" } ], "id": "82", "userLogin": "TEST55", "email": "TEST55@vision.com", "startDate": "2019-03-11T22:39:16Z" } ] }