Unitalk Microsoft OneDrive icon

Unitalk Microsoft OneDrive

Consume Microsoft OneDrive API

File → Rename

AI-generated

Summary

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

Inputs

  • Item ID (required) — The unique identifier of the file to rename.
  • New Name (required) — The new name to assign to the specified file.

Output shape

a single record representing the updated file item

The operation returns the metadata of the renamed file as a JSON object reflecting the change. Errors will be returned if the rename fails or the specified ID is invalid.

Examples

Example 1: Rename a file with ID '12345' to 'NewReport.pdf'

Set 'Item ID' to '12345' and 'New Name' to 'NewReport.pdf'. Execute to rename the file accordingly.

Links

Discussion