cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We're looking to hear about your experience when using Dropbox in a web browser. What parts of Dropbox feels very slow to you and takes a lot of time to get done? What are you trying to do in the Dropbox web browser when you experience slowness? Tell us right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
1
Ask
2
Comments

List Namespaces in API

List Namespaces in API

Nishikanth
Explorer | Level 4

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

1 Accepted Solution

Accepted Solutions

Re: List Namespaces in API

Greg-DB
Dropboxer

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.

View solution in original post

3 Replies 3

Re: List Namespaces in API

Greg-DB
Dropboxer

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! 

Re: List Namespaces in API

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? 

Re: List Namespaces in API

Greg-DB
Dropboxer

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.

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
  • User avatar
    Nishikanth Explorer | Level 4
What do Dropbox user levels mean?
Need more support?