List accessible groups

GET https://{{host}}/identity-management/v3/users/:username/group-access

This operation lists groups available to a user.

Request Params

KeyDatatypeRequiredDescription
accountSwitchKeystring(Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

[{"groupId":54321,"groupName":"Main Street Corporation","isBlocked":false,"roleDescription":"CPCode RolePermissions Automation","roleId":114492,"roleName":"CP Code Automation Role","subGroups":[]},{"groupId":12345,"groupName":"High Street Company","isBlocked":false,"roleDescription":"Admin role and Authz Case Management Read role for PRTLDEVOPS-50807","roleId":142838,"roleName":"Admin plus Authz Case Management Read","subGroups":[{"groupId":32145,"groupName":"Digital Company","parentGroupId":19717,"subGroups":[]},{"groupId":54321,"groupName":"Internet Company","parentGroupId":19717,"subGroups":[]}]}]