Delete SharePoint Library Item
sharepoint_delete_drive_itemDelete a file or folder from a SharePoint document library using Microsoft Graph. This write operation moves the item to the recycle bin, requiring Files.ReadWrite.All permissions.
Instructions
Delete a file or folder from a SharePoint document library. This is a write operation and may move the item to the recycle bin. Requires delegated Files.ReadWrite.All. Chinese intents / 中文意图: 删除SharePoint文件, 删除文档库文件, 删除SharePoint文件夹.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | File or folder item ID to delete. | |
| driveId | Yes | SharePoint document-library drive ID. |