Dropbox Logo

Dropbox API Integration Profile

Information and guides about integrating with Dropbox API

Add Dropbox Integration to Your App

Files - Move in Dropbox API

Move a file or folder to a different location in the user's Dropbox. If the source path is a folder all its contents will be moved.

Input schema fields
Field NameAPI KeyTypeDescription
Queryqueryobject
Datadataobjectfrom_path: Path in the user's Dropbox to be copied or moved. to_path: Path in the user's Dropbox that is the destination. allow_shared_folder: If true, :route:`copy` will copy contents in shared folder, otherwise :field:`RelocationError.cant_copy_shared_folder` will be returned if :field:`from_path` contains shared folder. This field is always true for :route:`move`. autorename: If there's a conflict, have the Dropbox server try to autorename the file to avoid the conflict. allow_ownership_transfer: Allow moves by owner even if it would result in an ownership transfer for the content being moved. This does not apply to copies.
Allow Ownership Transferdata.allow_ownership_transferbooleanAllow moves by owner even if it would result in an ownership transfer for the content being moved. This does not apply to copies.
From Pathdata.from_pathstringPath in the user's Dropbox to be copied or moved.
To Pathdata.to_pathstringPath in the user's Dropbox that is the destination.
Output schema fields
Field NameAPI KeyTypeDescription
Parent Shared Folder Idparent_shared_folder_idstringPlease use :field:`FileSharingInfo.parent_shared_folder_id` or :field:`FolderSharingInfo.parent_shared_folder_id` instead.
NamenamestringThe last component of the path (including extension). This never contains a slash.
Path Displaypath_displaystringThe cased path to be used for display purposes only. In rare instances the casing will not correctly match the user's filesystem, but this behavior will match the path provided in the Core API v1, and at least the last path component will have the correct casing. Changes to only the casing of paths won't be returned by :route:`list_folder/continue`. This field will be null if the file or folder is not mounted.
Path Lowerpath_lowerstringThe lowercased full path in the user's Dropbox. This always starts with a slash. This field will be null if the file or folder is not mounted.

Supercharge your product integrations today

Schedule a personalized demo