Delete a OneDrive file
delete_onedrive_fileDelete a OneDrive file by moving it to the recycle bin for recovery. Provide the file ID and set confirm to true to complete the action.
Instructions
Delete a OneDrive item — it moves to the OneDrive recycle bin (recoverable there). Pass fileId (from list_onedrive_files) + confirm:true. Confirm the exact file with the user first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | the OneDrive item id | |
| confirm | No | REQUIRED true |