Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester here.

Forum Discussion

aleksey_novikov's avatar
aleksey_novikov
New member | Level 2
6 years ago

Dropbox API scope

Hello everyone,

 

I'm learning a Dropbox API basics and I have a question about it. Can I allow API requests only for a specific folder? For example, Dropbox App can do everything inside `/api/` folder, but It can't manipulate files outside of it.  How can I achieve it?

 

Thanks. 

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    6 years ago

    The Dropbox API unfortunately doesn't offer a way to register an app or access token for access to a specific existing folder only, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.

    The closest thing currently available is the "app folder" permission. That would limit any access tokens for your app to a special app folder created for your app; it can't be set to a pre-existing folder though, nor can the special app folder be made into a shared folder, or contain or be contained in a shared folder. For accounts using the English locale, the app's app folder gets created by default inside the "/Apps" folder.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with other developers815 PostsLatest Activity: 4 years ago
281 Following

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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!