One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
aosingh
7 years agoExplorer | Level 4
List all files & folders in the root namespace for a user.
My aim is to list all the folders/files that belong to a user's dropbox account. My test user has 2 name-spaces as shown below: root_namespace_id=u'XXXXXXXX', home_namespace_id=u'XXXXXXXXX') ...
- 7 years ago
In order to access the team root using the Python SDK, you'll need to use `with_path_root` like this:
dbx.with_path_root(dropbox.common.PathRoot.root("XXXXXXXXX")).files_list_folder("")
Apologies this isn't better documented yet!
Greg-DB
Dropbox Staff
7 years agoIn order to access the team root using the Python SDK, you'll need to use `with_path_root` like this:
dbx.with_path_root(dropbox.common.PathRoot.root("XXXXXXXXX")).files_list_folder("")
Apologies this isn't better documented yet!
aosingh
7 years agoExplorer | Level 4
Thank you Greg, for your reply, I will test this and let you know if this works.
Regards.
Regards.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,953 PostsLatest Activity: 5 hours ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!