GET/users/{userId}/drive/sharedfolders/{sharedFolderId}/members
Gets the members of a shared folder.
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
file
file.read
| Parameter | Type | Description |
|---|---|---|
| userId | string | User ID
required example : me |
| sharedFolderId | string | Shared folder ID required example : MTIzNDVfRF8xMjM0NQ |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| members | array (object) | Member information |
| Property | Type | Description |
|---|---|---|
| userId | string | Member ID readOnly : true |
| userType | string | User type
Allowed values : USER, ORGUNIT, GROUP |
| permissionType | string | Permission type
Allowed values : READ, WRITE |
| userName | string | First name readOnly : true |
example
1{2 "members": [3 {4 "userId": "userf54b-fc04-4c54-8b9b-7072a326874a",5 "userType": "USER",6 "permissionType": "WRITE",7 "userName": "owner Name"8 }9 ]10}Access is denied: no permission.
Shared folder or permission does not exist.