Actions178
- Drive Actions
- Drive > Activity Actions
- Drive > Activity > Report Actions
- Drive > Files Actions
- Drive > Files > Action Actions
- Drive > Files > Archive Actions
- Drive > Files > Category Actions
- Drive > Files > Category > Right Actions
- Drive > Files > Dropbox Actions
- Drive > Files > External Import Actions
- Drive > Files > Favorite Actions
- Drive > Files > File/Directory Actions
- Drive > Files > File/Directory > Access Actions
- Drive > Files > File/Directory > Access > Invitation Actions
- Drive > Files > File/Directory > Access > Request Actions
- Drive > Files > File/Directory > Access > Teams Actions
- Drive > Files > File/Directory > Access > Users Actions
- Drive > Files > File/Directory > Comment Actions
- Drive > Files > File/Directory > Upload Actions
- Drive > Files > File/Directory > Upload > Session Actions
- Drive > Files > File/Directory > Version Actions
- Drive > Files > Search Actions
- Drive > Files > Share Link > Archive Actions
- Drive > Files > Share Link > Manage Actions
- Drive > Files > Trash Actions
- Drive > Invitations Actions
- Drive > Settings Actions
- Drive > Statistics Actions
- Drive > Users Actions
- Others Actions
- Users Actions
Drive > Files > File/Directory → Move
AI-generatedSummary
Move a file or directory within Infomaniak Kdrive.
Inputs
- authentication — Authentication method to use for the API request. Choose between OAuth2 or API Key. Default is OAuth2.
- path_drive_id (required) — Drive identifier where the file or directory is located.
- path_file_id (required) — File identifier to move.
- path_destination_directory_id (required) — Destination directory identifier where the file or directory will be moved to.
- bodyParameters — Additional body fields to include in the API request. Contains optional fields for conflict handling and naming.
- returnFullResponse — If true, the full API response is returned. Default is false.
Output shape
The node returns the moved file/directory metadata or an error if a conflict occurs.
When returnFullResponse is enabled, the complete API response is provided. Otherwise, a success indicator is returned.
Examples
Example 1: Move a file to a different directory
Set path_drive_id, path_file_id, and path_destination_directory_id to the appropriate numeric IDs. Optionally set body_conflict to 'rename' if a file with the same name exists in the destination.