dropbox / dbxcli

A command line client for Dropbox built using the Go SDK
Other
1.06k stars 99 forks source link

Add `logout` or `revoke` command #16

Closed waits closed 8 years ago

waits commented 8 years ago

There's currently no way to log out unless you know where the auth token is stashed and go delete it manually. A simple logout/revoke command would need to do two things:

  1. Call https://api.dropboxapi.com/2/auth/token/revoke to revoke the active token
  2. Delete ~/.config/dbxcli/auth.json
arafatx commented 3 years ago

Oh my ... spending more than 3 hours looking for reauthorization, finally that is the directory it stored. should have put this in the main documentation in Beginner section !