Microsoft OneDrive icon

Microsoft OneDrive

Consume Microsoft OneDrive API

File → Copy

AI-generated

Summary

Copies the specified OneDrive file, optionally assigning the copy a new name and parent reference. The node sends a copy request for each input item and returns the response’s Location header as location.

Inputs

  • File ID (required) — The ID of the file to copy.
  • Additional Fields → Name — Optional new name for the copy. If omitted or empty, the original name is used.
  • Parent Reference — Optional parent item reference for where to create the copy. Supports Drive ID, Drive Type, ID, List ID, Name, Path, Share ID, and Site ID; the supplied values are sent as the request’s parentReference.

Output shape

One JSON item per input item, containing a location field.

location is taken from the copy request’s response Location header. The operation does not return the copied file’s full metadata.

Links

Discussion