GET/sharedrives/{sharedriveId}/permissions
Gets a list of member permissions for a collaborative drive.
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
file
file.read
| Parameter | Type | Description |
|---|---|---|
| sharedriveId | string | Collaborative drive ID required example : @2101000000000008 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| permissions | array (FolderPermission) | Permission information |
| Property | Type | Description |
|---|---|---|
| permissionId | string | Permission ID required minLength : 1 readOnly : true |
| type | string | Permission type
required Allowed values : READ, WRITE |
| userId | string | User ID required minLength : 1 readOnly : true |
| userType | string | User type
required Allowed values : USER, ORGUNIT, GROUP |
| userName | string | User name required minLength : 1 readOnly : true |
example
1{2 "permissions": [3 {4 "permissionId": "QDIxMDAwMDAwMDAwMTcwfEdST1VQfDEwMTAwMDAwMDExNDY1MA",5 "type": "WRITE",6 "userId": "group127-8545-4463-603b-04d550d23bf",7 "userType": "GROUP",8 "userName": "test name"9 }10 ]11}