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
K2R400
3 months agoNew member | Level 2
Bearer Token
I have a Bearer Token that I got (I don't remember how) a few years ago, a Token that I would now like to change for security reasons. In the web interface, I can't find anywhere to generate a new Token (I don't have any app created and I have a token that currently works). Can I create a new Token and deactivate the old one (or not)?
Thanks in advance for your feedback
- Greg-DBDropbox Staff
K2R400 Здравко is correct; you can revoke an existing access token. One way to do so is to call /2/auth/token/revoke using the access token. (You can use the API v2 Explorer to make the call if you want.) Note that this can't be undone.
And as they said, Dropbox now issues short-lived access tokens, not long-lived access tokens. For long-term access, apps should use refresh tokens. Refer to the following resources for information on the current authorization functionality that you can use to get new access tokens and refresh tokens:
- ЗдравкоLegendary | Level 20
K2R400 wrote:... Can I create a new Token and deactivate the old one (or not)?
...Hi K2R400,
You can deactivate old one, but cannot create new long lived access token! Long lived access token issuing is dropped for long time already. For long term access you need to handle refresh token and short lived access token.
Hope this clarifies matter.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,885 PostsLatest Activity: 2 hours agoIf 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!