POST /drives/{drive-id}/items/{driveItem-id}/createLink

You can use createLink action to share a DriveItem via a sharing link. The createLink action will create 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 will be returned. DriveItem resources inherit sharing permissions from their ancestors.

Servers

Path parameters

Name Type Required Description
drive-id String Yes

The unique identifier of drive

driveItem-id String Yes

The unique identifier of driveItem

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
sendNotification Boolean No

Default value: false

recipients[] Array No
retainInheritedPermissions Boolean No

Default value: false

expirationDateTime String No
message String No
type String No
password String No
scope String No

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.