Develop > API calls > Container APIs > List user access details for a specified container

List user access details for a specified container

Lists the user access for a specified container. Details about users and groups with access to the specified container are returned in the response.

URI Method Parameters Returns
http://[host]:[port]/csa/api/container/useraccess/{containerID} GET Container ID

200 - successful
400 - bad values in Container ID parameter
403 - not authorized
404 - the container does not exist

Example

The following URL was sent:

https://localhost:8444/csa/api/container/useraccess/72A82AD399D64A1FADABE348AA59DB90

The following JSON was returned:

{ "name": "Container1", "displayName": "Container1", "description": "", "everyOneAccess": false, "members": [ { "cn": "anbu", "dn": "CN=anbu,CN=Users", "emailid": "user1@hp.com", "type": "user", "roles": [ { "role": "Application Developer" } ] }, { "cn": "G1", "dn": "CN=G1,CN=Users", "type": "group", "roles": [ { "role": "External Group" } ] } ] }