Logout of the Globus CLI
This command both removes all tokens used for authenticating the user from local storage and revokes them so that they cannot be used anymore globally.
If an expected token cannot be found in local storage a warning will be raised as it is possible the token still exists and needs to be manually rescinded at https://auth.globus.org/consents for security.
If the GLOBUS_PROFILE environment variable is set, you will log out of the account for the profile it’s set to, and may still be logged in on other profiles, including the default profile. See the docs for details:
Automatically say "yes" to all prompts
Ignore any errors encountered during logout
- -v, --verbose
Control level of output.
- -h, --help
Show this message and exit.
0 on success.
1 if an error occurred.
2 if the command was used improperly.
3 if the command was used on the wrong type of object, e.g. a collection command used on an endpoint.
4 if the command has authentication or authorization requirements which were not met, as in ConsentRequired errors or missing logins.