View Accounts
Users can get a list of their accounts via the URI /accounts GET
filtered via the user IDs.
cURL Example
curl -H "Content-Type: application/json" -X GET -u username:password https://pseudo.com/iam/governance/selfservice/api/v1/accounts?userId=82
GET Response Body
{ "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/accounts? userId=82&offset=1&limit=10" }, { "rel": "first", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/accounts? userId=82&offset=1&limit=10" } ], "count": 2 "hasMore": false, "totalResult": -1, "accounts": [ { "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/accounts/2" } ], "id": "2", "name": "Test5520190311", "userId": "82", "appInstanceId": "1", "requestId": "", "fields": [ { "name": "Status", "value": "Provisioned" }, { "name": "Policy Key", "value": "" }, { "name": "Provisioned By", "value": "1" }, { "name": "Risk Summary", "value": 0 }, { "name": "Account Data", "value": [] }, { "name": "Provisioned-On Date", "value": "2019-03-11T22:43:11Z" }, { "name": "Process Instance Key", "value": "201" }, { "name": "Valid From Date", "value": "2019-03-11T22:43:11Z" }, { "name": "Account Description", "value": "Test5520190311" }, { "name": "Account Type", "value": "Primary" }, { "name": "Normalize Data", "value": [] } ] }, { "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/accounts/1" } ], "id": "1", "name": "test5520180311", "userId": "82", "appInstanceId": "2", "requestId": "", "fields": [ { "name": "Status", "value": "Provisioning" }, { "name": "Policy Key", "value": "" }, { "name": "Provisioned By", "value": "1" }, { "name": "Risk Summary", "value": 0 }, { "name": "Account Data", "value": [] }, { "name": "Provisioned-On Date", "value": "2019-03-11T22:42:01Z" }, { "name": "Process Instance Key", "value": "200" }, { "name": "Valid From Date", "value": "2019-03-11T22:42:01Z" }, { "name": "Account Description", "value": "test5520180311" }, { "name": "Account Type", "value": "Unknown" }, { "name": "Normalize Data", "value": [] } ] } ] }