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
3 months ago

No way to disconnect the OAuth2 integration app from Dropbox via an API call

As there is no way to totally disconnect the OAuth2 integration app via an API call, what best can be done to not to get hit by webhooks for users who have disconnected our Dropbox integration. I am looking for a work around, or what can be next best possible steps.

 

I understand we can revoke the tokens and delete the same from our side, but we still keep getting webhooks for the subject user from Dropbox.

  • To turn off the webhook notifications for a connected user, the user would need to disconnect the app from their account, which they can do via https://www.dropbox.com/account/connected_apps so you may want to ask them to do so. This is a manual process of course, so that's not ideal, and I've sent this along as a feature request for a programmatic alternative.

     

    Unfortunately there isn't a good workaround to use instead directly from the app or developer's side. If the app is in development status and you want to disconnect all users, you can use the "Unlink all users" button on the app's page on the App Console. That would prevent any further webhook notifications as well as any/all further API calls for all connected users; there isn't a way to do this for just some particular user(s) though.

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

    To turn off the webhook notifications for a connected user, the user would need to disconnect the app from their account, which they can do via https://www.dropbox.com/account/connected_apps so you may want to ask them to do so. This is a manual process of course, so that's not ideal, and I've sent this along as a feature request for a programmatic alternative.

     

    Unfortunately there isn't a good workaround to use instead directly from the app or developer's side. If the app is in development status and you want to disconnect all users, you can use the "Unlink all users" button on the app's page on the App Console. That would prevent any further webhook notifications as well as any/all further API calls for all connected users; there isn't a way to do this for just some particular user(s) though.