Account

fw logout

logout

Remove this machine's stored token for a server

Added in 0.1.0.

Removes the token from the system keyring and fw's token file. The keyring entry is shared, so this also logs out the R and Python packages on this machine. To revoke the token itself, delete it on the server's tokens page.

Usage

fw logout [flags]

Options

Name Type Description
--url string

server to log out of (default: the server fw login would use)

Environment variable: FW_CLOUD_URL

Exit codes

Code Meaning
0 Success
1 Failure
2 Bad flags or arguments
3 Not logged in, or the server rejected the token
4 The server has no such project or resource
5 Browser login was denied, or its code expired
6 An upload has "private" in a path; rerun with --include-private if you mean to send it

With --json, a failure also prints one JSON line on stderr: {"error": "...", "exit_code": 4}. Exit code 6 adds "reason": "private_path".