drives.driveItem
Invoke action createLink
Create a link to share a driveItem driveItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application. If a sharing link of the specified type already exists for the app, the existing sharing link is returned. DriveItem resources inherit sharing permissions from their ancestors.
post/drives/{driveId}/root/microsoft.graph.createLink
Path parameters
driveIdstring required
The unique identifier of drive
Request body
Response
Success
Changes
No changes recorded. 1 of the 5 revisions has no diff computed, so it could not be searched.