We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
jimbeauphloyd
5 years agoExplorer | Level 3
Revoke short-lived access token without revoking the refresh token
I am using the HTTP API calls to access Dropbox. I'm trying to migrate from long-term access tokens to short-lived tokens. In order to do this, I need to test calling a refresh to get a new access token based on the refresh token. Unfortunately, the short-lived tokens take about four hours to expire, so it makes iterative development difficult.
Is there a way to revoke just the access token while leaving the refresh token intact? According to the docs (auth-token-revoke ) this call will revoke both the access token and the refresh token. This makes it hard to develop and debug the refresh process in our apps. Is there a way to force the access token to expire?
2 Replies
- Greg-DB5 years ago
Dropbox Community Moderator
No, unfortunately there currently isn't a way to revoke only the short-lived access token and not any corresponding refresh token, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
- jimbeauphloyd5 years agoExplorer | Level 3
OK, thanks for the reply!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!