Start 2025 on time and up to date. Seamlessly integrate your calendars into Dropbox with these simple steps.

Forum Discussion

kumaresan_GP333's avatar
kumaresan_GP333
New member | Level 1
2 months ago

Move files Between Team Folders

Hi,

Is there any way to move files and folders between team folders with or without namespace id Please advise on this. Here I attached my details.

 

Thanks & Regards

Kumaresan P

 

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Yes, using the /2/files/move_v2 functionality is the right way to move files or folders from one path to another. Check out that documentation for information on that endpoint, as well as the "Path formats" documentation for information on how to format path values. For instance, I notice that your "to_path" value does not look formatted correctly, as it does not follow any of the supported path formats (for example, it does not start with a "/" like your "from_path" value does).

    When making a call like this, be sure to check the response body for the result. If the call fails, the response body should contain an error message indicating the issue.

    The particular implementation details will depend on your specific scenario, so I recommend referring to the following guides and documentation for more information on how to work with files and folders, and with team content in particular:

    If something isn't working as expected/documented, feel free to share the relevant details, error/output, etc., and we'll be happy to take a look and help.