Move File or Folder
Options
Field | Definition | Type | Required |
---|---|---|---|
Source |
Choose a source:
|
Dropdown |
TRUE |
Input
Field | Definition | Type | Required |
---|---|---|---|
Drive |
|||
Drive ID |
Unique ID for the drive requested. Appears when Drive ID is selected from the Source option. |
Text |
TRUE |
Group |
|||
Group ID |
Unique ID for the group which owns the document library. Appears when Group ID is selected from the Source option. |
Text |
TRUE |
User |
|||
User ID |
Unique ID for the user object who owns the drive item. Appears when User ID is selected from the Source option. |
Text |
TRUE |
Source |
|||
File or Folder ID | Unique ID of the file or folder to move. |
Text |
TRUE |
Destination |
|||
Folder ID | Unique ID of the parent folder where the file or folder is moved. |
Text |
TRUE |
Name | Display name of the file or folder to move. If left empty, the moved file or folder retains its existing name. |
Text |
FALSE |
Output
Field | Definition | Type |
---|---|---|
File or Folder ID | Unique ID of the file or folder. |
Text |
Name | Name of the file or folder. |
Text |
Type | Type of the drive item. Possible values are: File or Folder. |
Text |
Parent Reference |
||
Drive ID | Unique ID of the drive. |
Text |
Drive Type | Describes the type of drive represented by this resource. |
Text |
Parent Folder ID | Unique ID of the parent folder. |
Text |
Path | File system path of the file or folder. |
Text |
Created By |
||
Name | Name of the user who created the file or folder. |
Text |
Email address of the user who moved the file or folder. | ||
User ID | Unique ID of the user. |
Text |
Created Date | Date and time of item creation. |
Date & Time |
Last Modified By |
||
Name | Name of the user who modified the file or folder. |
Text |
Email address of the user who modified the file or folder. |
Text |
|
User ID | Unique ID of the user. |
Text |
Last Modified | Identity of the folder which last modified the file or folder. |
Text |
Folder |
||
Child Count | Number of children contained immediately within this container. |
Number |
File |
||
Mime Type | MIME type for the file. This is determined by logic on the server and might not be the value provided when the file was uploaded. |
Text |
Web URL |
||
CTag | ETag for the content of the item. This eTag is not changed if only the metadata is changed. |
Text |
ETag | ETag for the entire item (metadata and content). |
Text |
Size | Size of the item in bytes. |
Number |
Additional information
-
Users who want to rename the file or folder that is being moved, specify the Name input field with the file extension if moving a file. Leave the Name input field empty if you are not renaming the file or folder.
-
Items cannot be moved between drives, users or groups using this request. For example, if the source file or folder in Drive A is moved to a destination folder in Drive B, then the Source file or folder is added to the root directory of Drive A, not the intended folder in Drive B.
-
By default, users cannot move a file or folder from a drive, users or group that belongs to another user.
Related topics
OneDrive connector