cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

Re: Check if client app is deleted

Check if client app is deleted

anildbest83
Explorer | Level 3
Go to solution

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

Greg-DB
Dropbox Staff
Go to solution

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

Greg-DB
Dropbox Staff
Go to solution

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.

anildbest83
Explorer | Level 3
Go to solution

@Greg-DB thanks for the suggestion

Need more support?