17 pages for /logout.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Set up Claude Code for your organization
Claude Code CLI · in the page
admin-setup
…tall.md#login-and-authentication). The most common fixes are: * Run `/logout` then `/login` to switch accounts * Run `claude update` if the enterprise auth option is missing * Restart the terminal af…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…lf instead of dispatching: * `/exit` and `/quit` close agent view * `/logout` signs you out * `/model`, `/effort`, and `/fast` set [what the sessions you dispatch next start with](#set-the-model-effo…
Claude Code on Amazon Bedrock
Claude Code CLI · in the page
amazon-bedrock
…the source in the `/status` output. * When using Amazon Bedrock, the `/logout` command is unavailable since authentication is handled through AWS credentials. * The WebSearch tool is not available on…
Authentication
Claude Code CLI · in the page
authentication
…t-login-to-your-organization). To log out and re-authenticate, type `/logout` at the Claude Code prompt. Logging out also resets your first-launch setup state, so the next time you run `claude` it wa…
Claude Code changelog
Claude Code CLI · in the page
changelog
…sion after signing in during first-run setup or the first start after /logout * Fixed unsandboxed Bash commands in Claude Desktop Code tab sessions on macOS and Linux not seeing environment variables…
Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry
Claude Code CLI · in the page
claude-apps-gateway
…ires within `ttl_hours` when the next refresh fails. * **Sign-out**: `/logout` deletes the gateway credential from the developer's machine. * When the gateway's discovery document advertises a `revo…
Claude Code on Claude Platform on AWS
Claude Code CLI · in the page
claude-platform-on-aws
…chine without exporting it globally. > [!NOTE] > > The `/login` and `/logout` commands don't sign you into a claude.ai subscription for Claude Platform on AWS. Authentication runs through your AWS cr…
Commands
Claude Code CLI · in the page
commands
…| | `/logout` | Sign out from your A…
Error reference
Claude Code CLI · in the page
errors
…t of Claude`: you signed out on this machine, for example by running `/logout` in another terminal, so Claude Code has no saved login left to renew the connection with **What to do:** * Run `/login`…
Claude Code on Google Cloud's Agent Platform
Claude Code CLI · in the page
google-vertex-ai
…Google Cloud support. When using Google Cloud's Agent Platform, the `/logout` command is unavailable since authentication is handled through Google Cloud credentials. Claude Code decides between [MC…
Set up Claude Code (local mode) for a HIPAA-ready organization
Claude Code CLI · in the page
hipaa-setup
…a developer's seat or account deletes nothing on their computer, and `/logout` doesn't delete session data either. To remove all of it, you can wipe the computer with your device management tool. ##…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…. To clear a saved login so only the gateway credential remains, run `/logout`. ## Configure each surface The CLI reads the environment variables and settings files above. The other surfaces are the…
Claude Code on Microsoft Foundry
Claude Code CLI · in the page
microsoft-foundry
…FOUNDRY_AUTH_TOKEN` > [!NOTE] > > When using Microsoft Foundry, the `/logout` command is unavailable since authentication is handled through Azure credentials. #### Use an API key Copy a key from t…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…k/typescript#query-object) #### Auth event Logged when `/login` or `/logout` completes. **Event Name**: `claude_code.auth` **Attributes**: * All [standard attributes](#standard-attributes) * `eve…
Configure server-managed settings
Claude Code CLI · in the page
server-managed-settings
…hen a developer signs in at startup, such as on a first run or after `/logout`, Claude Code waits up to five seconds for the fetch before it opens the session. When the policy arrives in time, Claude…
Troubleshoot installation and login
Claude Code CLI · in the page
troubleshoot-install
…isn't clear, a clean re-authentication resolves most cases: 1. Run `/logout` to sign out completely 2. Close Claude Code 3. Restart with `claude` and complete the authentication process again If th…
Use Claude Code in VS Code
Claude Code CLI · in the page
vs-code
…hropic account, select **Sign out** in the Settings section, or type `/logout`. On a [third-party provider](#use-third-party-providers), the menu doesn't offer either. Requires Claude Code v2.1.277 or…