Delete a OneDrive item
files_deleteDeletes a file or folder from the signed-in user's OneDrive. The item moves to the recycle bin; confirm the item ID with files_get_item first.
Instructions
Deletes a file or folder from the signed-in user's OneDrive. Deleting a folder deletes everything inside it. The item goes to the OneDrive recycle bin rather than being destroyed, but this server has no tool to restore it, so confirm the id with files_get_item first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | Id of the file or folder to delete. Deleting a folder deletes everything inside it. |