Tillbaka till Microsoft OneDrive

Anslut Knoon AI med Microsoft OneDrive (Microsoft) för att automatisera AI-flöden.

Copy a OneDrive or SharePoint file to another folder, with optional rename.
microsoftOneDriveCopyFile
BETA
Behörigheter
  • Files.ReadWrite
Valfria behörigheter
  • Files.ReadWrite.All
  • Sites.ReadWrite.All
Parametrar
NamnTypBeskrivningObligatoriskt
fileIdfile Select the file to copy.Ja
destinationFolderIdfile Select the destination folder.Ja
newFileNamemustache Optional. Name for the copied file (e.g. "report-copy.pdf").Nej
overwriteExistingboolean If true, overwrite the file if it already exists at destination. If false, return an error.Nej
Returer
NamnTypBeskrivning
statusstring COPIED or ERROR.
sensitive.fileIdstring DriveItem ID of the copied file.
sensitive.namestring Copied file name.
sensitive.mimeTypestring File MIME type.
sensitive.sizestring Size (bytes).
sensitive.parentReferenceobject Parent reference metadata for the copied file.
confidential.webUrlstring Web URL to open the item (if available).