We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.

Forum Discussion

user44's avatar
user44
Explorer | Level 4
3 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. 

About Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,875 PostsLatest Activity: 3 hours ago
323 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!