Community articleWorking with roles for folders
Added by IBM contributorIBM on December 22, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Add and remove users and groups from access roles for a folder.
Use the following methods to add and remove users from access roles, and to retrieve information about roles and the users assigned to them.

POST
/files/{auth}/api/collection/{collection-id}/roles/{role-type}/members
POST
/files/{auth}/api/communitycollection/{community-id}/roles/{role-type}/members
POST
/files/{auth}/api/collection/{collection-id}/roles/

/files/{auth}/api/communitycollection/{community-id}/roles/

GET
/files/{auth}/api/collection/{collection-id}/roles
GET
/files/{auth}/api/communitycollection/{community-id}/roles
GET
/files/{auth}/api/collection/{collection-id}/roles/{role-type}/members
GET
/files/{auth}/api/communitycollection/{community-id}/roles/{role-type}/members
GET
/files/{auth}/api/collection/{collection-id}/roles/{role-type}
GET
/files/{auth}/api/communitycollection/{community-id}/roles
DELETE
/files/{auth}/api/collection/{collection-id}/roles/{role-type}/members/{member-id}
DELETE
/files/{auth}/api/communitycollection/{community-id}/roles/{role-type}/members/{member-id}
DELETE
/files/{auth}/api/collection/{collection-id}/roles/{role-type}/members/{member-id}

/files/{auth}/api/communitycollection/{community-id}/roles/{role-type}/members/{member-id}