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

user44's avatar
user44
Explorer | Level 4
4 months ago

How to programmatically disconnect the Dropbox integration OAuth2 app on behalf of my user?

Hi there,

I have developed an OAuth2 integration of our app with Dropbox. I would like to know what is the API endpoint for disconnecting the integration on behalf of our app's user, who say wants to disconnect the 2 way communication between our app and Dropbox. 

 

I could find the /token/revoke endpoint but same is just revoking the existing access token and refresh token and not actually disconnecting our integration from the Dropbox user's Dropbox-account. This leads to nuisance of our app keep getting hit by webhooks based notifications for this user even when they have disconnected our integration.

 

I searched on internet and found this SOF post, just curious if there is any change since then.

  • user44 Здравко is correct; the Dropbox API still does not offer a way to programmatically disconnect the user from the app entirely (as opposed to only revoking a particular token).

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

    user44 Здравко is correct; the Dropbox API still does not offer a way to programmatically disconnect the user from the app entirely (as opposed to only revoking a particular token).

    • user44's avatar
      user44
      Explorer | Level 4

      Thanks for responding @Здравко and @Greg-DB, Is there a work around or what best can be done in this situation, we would not like to keep getting hit by webhooks for users who are no longer using our Dropbox integration.