Learn how to make the most out of the Dropbox Community here 💙. 

Forum Discussion

Michal5's avatar
Michal5
Explorer | Level 4
6 years ago

Shutdown client

Hi Dropbox team,

I would like to ask you about shutdown client object. Is there a way in sdk-java to shutdown the client object ? Something like AWS is doing ?

AWS-shutdown . I cannot use revokeToken operation becasue all my tests fail.

Thank you for you response.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    I can't provide insight on that shutdown method as it's not made by Dropbox, but judging from the description, the Dropbox Java SDK doesn't offer an equivalent method. You can release any resources you've opened in your own code and just discard the Dropbox client as desired. (The tokenRevoke method would actually disable the access token on the server, so you should only use that if you no longer want that access token to ever be usable.)

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,965 PostsLatest Activity: 2 hours ago
359 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!