GET/groups/{groupId}/folder/files/{fileId}/permissions/{permissionId}
Gets an access permission for a folder in a team/group folder.
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
file
file.read
group.folder
group.folder.read
| Parameter | Type | Description |
|---|---|---|
| groupId | string | Team/group ID required example : group127-8545-4463-603b-04d550d23bf |
| fileId | string | File ID required example : NzExNTMwMDF8MTQ2NzA1NjAxMDAwMHxGfDA |
| permissionId | string | Permission ID required example : QDIxMDAwMDAwMDAwMTcwfEdST1VQfDEwMTAwMDAwMDExNDY1MA |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| 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 "permissionId": "QDIxMDAwMDAwMDAwMTcwfEdST1VQfDEwMTAwMDAwMDExNDY1MA",3 "type": "WRITE",4 "userId": "group127-8545-4463-603b-04d550d23bf",5 "userType": "GROUP",6 "userName": "test name"7}