v1
latestOpenAPI 3.0.42026-07-1778875788.7 KBdrives.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}/items/{driveItemId}/microsoft.graph.createLink
Path parameters
driveIdstring required
The unique identifier of drive
driveItemIdstring required
The unique identifier of driveItem
Request body
Response
Success