Skip to main content
The magnet logout command revokes the CLI token issued by magnet login on the server, then deletes it from ~/.magnet/auth.json. After logging out, commands that require user authentication will prompt you to log in again.

Usage

magnet logout
magnet logout only affects the stored login token. If MAGNET_API_KEY is set in your environment, the CLI will still authenticate with that workspace key.