cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and 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: 

Remove an application from user with Dropbox API v2

Remove an application from user with Dropbox API v2

mw-prodev
New member | Level 2

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.

3 Replies 3

Greg-DB
Dropbox 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
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
Dropbox 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.

Need more support?
Who's talking

Top contributors to this post

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