post
https://api.lucid.co/folders//shares/shareLinks
Creates a new share link on the provided folder with the provided settings.
Notes:
- The
linkSecurityis only configurable for users on accounts with an enterprise license but is still required for team accounts. For more information see here.- If an expiration is provided outside the account defined limits, it will clamp to be the maximum possible time.
- If the
restrictToAccountfield is provided asfalseand the folder's account defined settings do not allow share links outside the account, it will restrict the share link to be within the account.
Valid Authentication Methods
OAuth 2.0 User Token Scopes:
- folder
400Bad Request if the folder does not belong to an enterprise account and the restrictToAccount is set to true, defines a passcode, or defines an expiration.
403Forbidden if the app making the request does not have permission to the folder, or if the folder has been deleted, or does not exist.