POST /drives/{drive-id}/items/{driveItem-id}/invite
Send a sharing invitation for a driveItem. A sharing invitation provides permissions to the recipients and, optionally, sends them an email to notify them that the item was shared.
Servers
- https://graph.microsoft.com/v1.0
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
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.