Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I revoke generated access tokens for Dropbox applications?

I have generated (manually through the web UI) multiple access tokens during testing, and all seem valid. I have probably also generated some and not actually noted them down anywhere.

How do I: a) list access tokens b) remove/revoke unneeded access tokens

I have looked here: www.dropbox.com/account/security and I can see my app listed, but there is no mention of access tokens. I do not want to remove the entire app, just some of the access tokens for it.

The app in question has "App folder" access, which means that it can only access one particular folder (and children).

Note: When I say "all seem valid" - I mean that each token can successfully be used to perform actions on the specific app folder at play.

like image 371
Chris Avatar asked Oct 18 '25 05:10

Chris


1 Answers

Update 2024

Based on Chris' answer but with the new UI:

  • You have to "disconnect" the App.
  • To do so, navigate to here https://www.dropbox.com/account/connected_apps
  • Then in the list of the apps, click the arrow to display more content.
  • Finally click "Disconnect"

Disconnect the App

Once you click on "disconnect", they'll ask you via popup if you want to keep or remove the contents of the application folder. Keep them.

Uncheck removing contents

  • After this you'll see "no apps connected".
  • After this, you can refresh your application page and see it failing (401, not authorized).
  • Then head to the apps https://www.dropbox.com/developers/apps/ and browse to your app, then generate a new token.
  • Copy/paste the new token to the application's credentials.
  • After generating the code, reload your web application and see it accessing the old content again.
  • Refresh https://www.dropbox.com/account/connected_apps and you'll see the app again.
like image 63
Xavi Montero Avatar answered Oct 22 '25 06:10

Xavi Montero



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!