Microsoft OneDrive icon

Microsoft OneDrive

Consume Microsoft OneDrive API

File → Rename

AI-generated

Summary

Renames a OneDrive file by updating the item with the supplied name. For each input item, it sends a PATCH request to Microsoft Graph and returns the updated item data.

Inputs

  • Item ID (required) — ID of the file to rename.
  • New Name (required) — Name to set for the file.

Output shape

A list of updated OneDrive item records, one per input item.

The node returns the Microsoft Graph response for the PATCH request. With Continue On Fail enabled, an item that fails produces an error object instead.

Links

Discussion