cs logout

Remove the session cs login stored on this machine.

cs logout deletes the stored session (token.json under CS_CONFIG_DIR, ~/.config/cs by default). Every command after it fails with exit code 3 until you run cs login again. Logging out when no session is stored is not an error.

Usage

cs logout
Output
Logged out; removed /home/ada/.config/cs/token.json.
Your browser is still signed in to CoreSpeed, and `cs login` reuses that sign-in; to log in as someone else, sign out at https://app.corespeed.io first.

The browser has its own sign-in, and cs logout does not touch it. The next cs login reuses it without asking for a password, so to sign in as a different account, sign out on the dashboard first.

API keys you created with cs keys create belong to your organization, not to this session, and keep working after you log out.

On this page