Creates a new share link on the provided document with the provided settings. It supports only User token type.
Valid Access Token Types
Valid Access Scopes
lucidchart.document.content.share.link
lucidchart.document.app.picker.share.link
lucidchart.document.app.folder
lucidscale.document.content.share.link
lucidscale.document.app.picker.share.link
lucidscale.document.app.folder
lucidspark.document.content.share.link
lucidspark.document.app.picker.share.link
lucidspark.document.app.folder
Note: The
invitationSecurity
is only configurable for users on accounts with an enterprise license but is still required for team accounts. For more information see here.Note: If an expiration is provided outside the account defined limits, it will clamp to be the maximum possible time.
Note: If the
restrictToAccount
field is provided asfalse
and the document's account defined settings do not allow share links outside the account, it will restrict the share link to be within the account.