You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

Nishikanth's avatar
Nishikanth
Explorer | Level 4
5 years ago

List Namespaces in API

Is it intentional that the Dropbox API also lists out the deleted folders (but it does not list out the permanently deleted) ?

  • Greg-DB's avatar
    Greg-DB
    5 years ago

    Thanks for following up and clarifying. Yes, that's expected. When you delete a shared folder from an account, for instance, that doesn't actually destroy the namespace; it just removes or "unmounts" the shared folder from the account, but it can be re-added later.

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

    To make sure I understand the scenario you're asking about properly, can you share the endpoint/method you're referring to, as well as the particular parameters/values you're using with it? Thanks in advance! 

    • Nishikanth's avatar
      Nishikanth
      Explorer | Level 4

      The endpoint is : 

      https://api.dropboxapi.com/2/team/namespaces/list 

       With the following parameters:

      curl -X POST https://api.dropboxapi.com/2/team/namespaces/list \
          --header "Authorization: Bearer ***access token****" \
          --header "Content-Type: application/json" \
          --data "{\"limit\": 100}"

      This lists all the namespaces which are also deleted. So is this an expected functionality? 

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

        Thanks for following up and clarifying. Yes, that's expected. When you delete a shared folder from an account, for instance, that doesn't actually destroy the namespace; it just removes or "unmounts" the shared folder from the account, but it can be re-added later.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,882 PostsLatest Activity: 12 hours ago
325 Following

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!