Microsoft OneDrive (With Drive ID)

Consume Microsoft OneDrive API with custom Drive ID

File → Rename

AI-generated

Summary

Rename a file in Microsoft OneDrive by specifying its item ID and the new name.

Inputs

  • Item ID (required) — ID of the file to rename.
  • New Name (required) — New name to assign to the file.

Output shape

a single record containing the updated file metadata returned by the Microsoft Graph API

The operation sends a PATCH request to update the file's name and returns the updated file object in the workflow output.

Examples

Example 1: Renaming a file

Set the 'Item ID' to the target file's ID and 'New Name' to the desired filename.

Links

Discussion