Logo
Akamai APIs API Documentation

List accessible groups

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

This operation lists groups available to a user.

 

Body PARAM

Key Datatype Required Description 
accountSwitchKey
string (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).



HEADERS

Key Datatype Required Description 
Accept
string




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": [] } ] } ]



Curl
curl -X GET 'https://host/identity-management/v3/users/:username/group-access?accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS