cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you new to Dropbox? Our Newcomers group is the perfect place to learn the basics, find out more 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: 

Create team folder in business endpoint

Create team folder in business endpoint

saritafurtado
Explorer | Level 3

I am trying to create team folder with Dropbox Business Standard plan in dropbox api explorer


curl -X POST https://api.dropboxapi.com/2/team/team_folder/create \
  --header 'Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'\
  --header 'Content-Type: application/json' \
  --data '{"name":"test"}'


But it gives me following error
 
{
  "{   "error_summary ": "invalid_account_type/endpoint/.",
  "error": {
    ".tag": "invalid_account_type",
    "invalid_account_type": {
      ".tag": "endpoint"
    }
  },
  "user_message": {
    "locale": "en",
    "text": "You can’t create a team folder for this team"
  }
}

How can I create team folder and where it will be visible in UI?

3 Replies 3

Greg-DB
Dropbox Staff

It sounds like your Business team is using the new team space and member folders configuration that some teams have access to. In that case, you shouldn't use the /2/team/team_folder endpoints anymore. You should just operate on files and folders in the team space instead, e.g., using /2/files/create_folder_v2 via the member file access featurePlease read the Namespace Guide for details on how this works.

test0071
Explorer | Level 4
Will this work in advance plan ? I will be able to create multiple team folders in advanced plan?

Greg-DB
Dropbox Staff
This isn't about your plan level (Standard or Advanced) but rather just about whether or not the team is using the new "team space" configuration:

https://www.dropbox.com/help/business/team-space-overview

If the team is using the team space configuration, you should just create folders in the team space, per my earlier reply. If the team is not using the team space configuration, you should use the team_folder endpoints. In either case, you can have multiple folders.
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    test0071 Explorer | Level 4
What do Dropbox user levels mean?