Forum Discussion

ronalddy's avatar
ronalddy
Explorer | Level 3
5 years ago

How do I authorize app for endpoint file_properties/templates/list_for_team?

Looking at https://www.dropbox.com/developers/documentation/http/teams#file_properties-templates-list_for_team

it says the API requires the files.team_metadata.write.

I can't find this exact entry in the apps permissions settings page. So I just ticked everything. But it still returns app not authorized.

 

request:

curl -X POST https://api.dropboxapi.com/2/file_properties/templates/list_for_team \
    --header "Authorization: Bearer xxxxx

response:

Error in call to API function "file_properties/templates/list_for_team": Your app is not authorized to use this endpoint.

 

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

    Thanks for the report and apologies for the trouble and confusion. I'll check on this with the team and follow up here once I have an update for you.

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

      The 'files.team_metadata.write' scope is now available. You can enable it for your app on the Permissions tab on the app's page on the App Console. (Note that it is not available to apps using the "app folder" access type though, as those can't use any team scopes.)

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 11 hours ago
351 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!