Microsoft OneDrive icon

Microsoft OneDrive

Consume Microsoft OneDrive API

File → Delete

AI-generated

Summary

Deletes the specified OneDrive file by sending a DELETE request for its drive item. For each input item, returns a success result when deletion completes.

Inputs

  • File ID — The file's OneDrive item ID, used to identify the file to delete. The field is optional in the node UI.

Output shape

A single output item per input item, containing {"success": true} after deletion.

Requires Microsoft OneDrive OAuth2 credentials. If the request fails, the node raises an error unless Continue On Fail is enabled; then it returns an item containing the error message.

Links

Discussion