Sign out of the CLI by revoking the saved session and removing its local file.
Usage
1spanlogout
This command takes no options.
Examples
12spanlogoutspan login
For a valid saved session, logout asks the server to revoke it before removing the local file. An already unauthorized session is removed locally. If another network or server error prevents revocation, the command keeps the file so you can retry. An expired or invalid local session is removed without a revocation request.
Browser sessions, API keys, and shared traces remain available. Use unshare to remove a shared trace. See authentication for the saved-session location.