Microsoft Graph API - Create shareable link action

The Create shareable link action creates a shareable link in Microsoft Graph API. The existing link is returned if a shareable link already exists.

Input

Input fieldDescription
Entity typeSelect the entity to provide permissions to create a shareable link.
Site IDSelect the ID of the site to create a shareable link for. Default is to pick up sites from the communication site directory.
Link typeSelect the type of link to create. For example, view, edit, or embed.
Folder IDThe ID of the folder to create a shareable link for.
Retain inherited permissionsSelect if existing inherited permissions are retained when you share this item. All existing permissions are removed when sharing the item if set to false.

Output

Output fieldDescription
IDThe ID of the shareable link.
RolesAny roles that associated with the shareable link, such as read.
LinkThe shareable link URL.
Has passwordA boolean response indicating if the shareable link requires a password to access.
Share IDThe ID of the resource the shareable link corresponds with.
Expiration date timeThe date and time that the shareable link expires.

Last updated: