cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We're looking to hear about your experience when using Dropbox in a web browser. What parts of Dropbox feels very slow to you and takes a lot of time to get done? What are you trying to do in the Dropbox web browser when you experience slowness? Tell us right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
1
Ask
2
Comments

Check if client app is deleted

Check if client app is deleted

anildbest83
Explorer | Level 3

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

1 Accepted Solution

Accepted Solutions

Re: Check if client app is deleted

Greg-DB
Dropboxer

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.

View solution in original post

2 Replies 2

Re: Check if client app is deleted

Greg-DB
Dropboxer

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.

Re: Check if client app is deleted

anildbest83
Explorer | Level 3

@Greg-DB thanks for the suggestion

Who's talking

Top contributors to this post

  • User avatar
    anildbest83 Explorer | Level 3
  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?