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

mw-prodev's avatar
mw-prodev
New member | Level 2
8 years ago

Remove an application from user with Dropbox API v2

Hi,

In Dropbox API v2, can a user unlink an app from their account via the "Apps linked" section of their account security page?

Please let me know if have any solution.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    Yes, regardless of the version of the API any particular app uses, the user can unlink any app via the "Apps linked" section of their account security page.
    • ankon111's avatar
      ankon111
      Explorer | Level 4

      When a user unlink an app then how can I get to know that?

      Because if someone unlinks his dropbox account with my app then I have to remove his accounts information from my app database.

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

        ankon111 If/when a user unlinks an app from their account, any further API calls using an access token for that account and app will fail with a 401 error status. You can find more information about the different error cases in the documentation here:

        https://www.dropbox.com/developers/documentation/http/documentation#error-handling

        If you're using an official SDK, it will automatically convert the error response to the corresponding native exception.

        You can check the specific error in your app's code and handle it accordingly, e.g., to remove the account, or prompt them to relink if they wish to continue using the app, etc.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,915 PostsLatest Activity: 5 hours ago
333 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!