Take Your Search Game to the Next Level with Dropbox Dash  🚀✨ Curious how it works? Ask us here! 

Forum Discussion

anildbest83's avatar
anildbest83
Explorer | Level 3
8 years ago
Solved

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-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    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.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,000 PostsLatest Activity: 3 days ago
383 Following

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!