GET/groups/{groupId}/folder/link-setting
Gets link settings required to create a link for a file 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 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| enabledOrganizationAccessType | boolean | Indicates whether a link with the accessType ORGANIZATION can be created. |
| enabledSpecificPeopleAccessType | boolean | Indicates whether a link with the accessType SPECIFIC_PEOPLE can be created. |
| enabledAnyoneAccessType | boolean | Indicates whether a link with the accessType ANYONE can be created. |
| maxLinkRetentionDays | integer | Maximum retention period in days. When creating or updating a link, the expirationTime value must be less than the maxLinkRetentionDays value.
Allowed values : -1, 7, 30, 90, 180 |
example
1{2 "enabledOrganizationAccessType": true,3 "enabledSpecificPeopleAccessType": true,4 "enabledAnyoneAccessType": false,5 "maxLinkRetentionDays": 306}