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

Sends a sharing invitation for a driveItem. A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link.

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
recipients[] Array No
requireSignIn Boolean No

Default value: false

retainInheritedPermissions Boolean No

Default value: false

message String No
expirationDateTime String No
roles[] Array No
sendInvitation Boolean No

Default value: false

password 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.