Learn how to make the most out of the Dropbox Community here 💙!
Forum Discussion
BIMcollab
6 years agoHelpful | Level 5
Sign out user from dropbox website with an API call
Hi, I am wokring with the Dropbox API v2 .NET SDK.
In my code I want to make it so that users can log in with different dropbox credentials. Right now a user can "sign out" and the token is inva...
Greg-DB
Dropbox Staff
6 years agoBIMcollab As Здравко mentioned, you can direct the user to https://www.dropbox.com/logout at any time to log them out of the Dropbox web site. Make sure you do so with the user's understanding though, as forcibly logging them out without their knowledge may be confusing or disruptive to them.
Or, you can use the 'forceReapprove' or 'forceReauthentication' parameter on the GetAuthorizeUri method to require the user to explicitly re-authorize the app (giving them a chance to switch accounts, if they wish) or log the user out, respectively, during the app authorization flow. (Apologies, the docs there seem to be missing the full description of these parameters. I'll ask the team to fix that up. In the meantime you can find the corresponding documentation in the HTTP docs here.)
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,976 PostsLatest Activity: 6 hours ago
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!