We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
anildbest83
9 years agoExplorer | Level 3
Check if client app is deleted
I m in a situation where need to find a way to check if user has deleted the app from dropbox>account settings>scruity
Is there some way to get it so that i can force user to authorise agian?
Please suggest
Yes, you can try making an API call and check if it fails with a 401 invalid access token error. Getting the user's account information is a good call to use for this, since it doesn't have side effects.
For example, with the .NET SDK, you can call GetCurrentAccountAsync, and catch/check the AuthError.
2 Replies
Replies have been turned off for this discussion
- Greg-DB9 years ago
Dropbox Community Moderator
Yes, you can try making an API call and check if it fails with a 401 invalid access token error. Getting the user's account information is a good call to use for this, since it doesn't have side effects.
For example, with the .NET SDK, you can call GetCurrentAccountAsync, and catch/check the AuthError.
- anildbest839 years agoExplorer | Level 3
Greg-DB thanks for the suggestion
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!