cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done 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: 

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.

View solution in original post

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?