View Direct Reports
Users can get a list of their direct reports with the URI /users/{userid}/directs GET
.
cURL Example
curl -H "Content-Type: application/json" -X GET -u username:password https://pseudo.com/iam/governance/selfservice/api/v1/users/17/directs
GET Response Body
{ "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/adminservice/api/v1/users/17/directs?offset=1&limit=10" }, { "rel": "first", "href": "https://pseudo.com/iam/governance/adminservice/api/v1/users/17/directs?offset=1&limit=10" } ], "count": 2, "hasMore": false, "totalResult": -1, "users": [ { "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/adminservice/api/v1/users/22" } ], "id": "22", "name": "Bud", "userLogin": "BSPENCER", "displayName": "Bud Spencer" }, { "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/adminservice/api/v1/users/24" } ], "id": "24", "name": "Beatrix", "userLogin": "BKIDDO", "displayName": "Beatrix Kiddo" } ] }