Forget the saved sign-in for a hosted Ancha workspace so commands use local servers again.
ancha logout removes a saved sign-in from the credentials file. It does not revoke the API key; revoke it under Settings in the console.
ancha logout [options]
Option
Description
--url <url>
Hosted world server to forget (default: the saved default)
ancha logout
Output
Signed out of https://app.ancha.io/t/<workspace>. Commands run a local server again unless --server-url is set.
With nothing saved, it prints Nothing saved; you were not signed in. and exits 0.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Ancha","description":"Ancha runs your AI agent against stateful replicas of Slack, GitHub, Datadog and 35 other tools, grades each attempt with checks, and shows why it failed.","colors":{"primary":"#D97757","light":"#E4A089","dark":"#BF5F3E"},"logo":{"light":"https://mintcdn.com/ancha/ZjGIZQH_u9HX5PNO/logo/light.svg?fit=max\u0026auto=format\u0026n=ZjGIZQH_u9HX5PNO\u0026q=85\u0026s=6c9f535dd10609a27c36a19f4f940fa0","dark":"https://mintcdn.com/ancha/ZjGIZQH_u9HX5PNO/logo/dark.svg?fit=max\u0026auto=format\u0026n=ZjGIZQH_u9HX5PNO\u0026q=85\u0026s=02796be1ceddb3986a2b1c6daee56037"},"favicon":"https://mintcdn.com/ancha/ZjGIZQH_u9HX5PNO/favicon.svg?fit=max\u0026auto=format\u0026n=ZjGIZQH_u9HX5PNO\u0026q=85\u0026s=cf64640c525c28dc49200f844b5c871d","background":{"color":{"light":"#FAF9F5","dark":"#1F1E1D"}},"navbar":{"links":[{"href":"https://app.ancha.io/login","label":"Sign in"}],"primary":{"type":"button","label":"Book a demo","href":"https://cal.com/patrick-liu-me8bzn/30min"}},"footer":{"links":[{"header":"Ancha","items":[{"label":"ancha.io","href":"https://ancha.io"}]}]},"seo":{"metatags":{"canonical":"https://docs.ancha.io"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"markdown":{"instructions":"These docs describe the Ancha CLI, npm package @ancha-labs/cli version 0.1.4, and the hosted workspace at app.ancha.io. Coding agents should start at https://docs.ancha.io/coding-agents. Run the CLI as `ancha` after `npm install -g @ancha-labs/cli`, or as `npx -y @ancha-labs/cli@0.1.4` without installing. Pass --json for machine-readable output, or set ANCHA_JSON=1. Every command ends with a `next:` line naming the next command. Exit codes: 0 pass, 1 a check failed or a comparison regressed, 2 usage, config or authentication error, 3 infrastructure error, 4 unimplemented endpoint with --strict."},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ancha","hasAudioNarration":false,"actualSubdomain":"ancha","customDomains":["docs.ancha.io"],"gitSource":{"type":"github","owner":"liup6424","repo":"ancha_docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6ae51618e1815328ced9e523"},"chroma":{"latestBuiltDeploymentHistoryId":"6ae7defcb26903148c761ef1","collectionId":"5f99c854-e4e7-4fc1-a535-9ef471a69a63","liveDeploymentHistoryId":"6ae7defcb26903148c761ef1","schemaVersion":"v3"},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae7e0dd462364bde4912993","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"CLI","count":33},{"language":"default","tag":"Tools","count":31},{"language":"default","tag":"Test loop","count":10},{"language":"default","tag":"Engineering and operations","count":9},{"language":"default","tag":"Revenue and commerce","count":8},{"language":"default","tag":"Communication and documents","count":7},{"language":"default","tag":"Servers and sandboxes","count":5},{"language":"default","tag":"Cloud","count":5},{"language":"default","tag":"Concepts","count":5},{"language":"default","tag":"Reference","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"cli/logout","slug":"/cli/logout","pageMetadata":{"title":"ancha logout","description":"Forget the saved sign-in for a hosted Ancha workspace so commands use local servers again.","href":"/cli/logout"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Forget the saved sign-in for a hosted Ancha workspace so commands use local servers again.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`ancha logout`}),` removes a saved sign-in from the credentials file. It does not revoke the API key; revoke it under `,_jsx(_components.strong,{children:`Settings`}),` in the console.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ancha`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` logout`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [options]`})]}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Option`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--url \u003curl>`})}),_jsx(_components.td,{children:`Hosted world server to forget (default: the saved default)`})]})})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ancha`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` logout`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:`Output`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Signed out of https://app.ancha.io/t/\u003cworkspace>. Commands run a local server again unless --server-url is set.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`With nothing saved, it prints `,_jsx(_components.code,{children:`Nothing saved; you were not signed in.`}),` and exits `,_jsx(_components.code,{children:`0`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"ancha logout","description":"Forget the saved sign-in for a hosted Ancha workspace so commands use local servers again.","href":"/cli/logout"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"subdomain":"ancha","siteName":"Ancha","title":"ancha logout - Ancha","relatedPagesConfig":{"enabled":true,"limit":5,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-31T08:00:26.389Z","originalFileLocation":"cli/logout.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Forget the saved sign-in for a hosted Ancha workspace so commands use local servers again.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Ancha\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ancha/7dKsVRky4BVXz6Qv/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/ancha/7dKsVRky4BVXz6Qv/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ancha/7dKsVRky4BVXz6Qv/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ancha/7dKsVRky4BVXz6Qv/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ancha/7dKsVRky4BVXz6Qv/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ancha/7dKsVRky4BVXz6Qv/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ancha/7dKsVRky4BVXz6Qv/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ancha/7dKsVRky4BVXz6Qv/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ancha/7dKsVRky4BVXz6Qv/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"ancha logout - Ancha\">\u003cmeta data-mint-head property=\"og:description\" content=\"Forget the saved sign-in for a hosted Ancha workspace so commands use local servers again.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ancha\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ancha.io/cli/logout\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ancha.mintlify.app/_mintlify/api/og/v2?division=Hosted+workspace\u0026amp;title=ancha+logout\u0026amp;description=Forget+the+saved+sign-in+for+a+hosted+Ancha+workspace+so+commands+use+local+servers+again.\u0026amp;theme=e8f7d3e2681ad873bff32e0b\u0026amp;signature=9f398e15c751924662fb9d25c1055c8dc3ce4b662aac430017fe973656ab360c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"ancha logout - Ancha\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Forget the saved sign-in for a hosted Ancha workspace so commands use local servers again.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ancha.mintlify.app/_mintlify/api/og/v2?division=Hosted+workspace\u0026amp;title=ancha+logout\u0026amp;description=Forget+the+saved+sign-in+for+a+hosted+Ancha+workspace+so+commands+use+local+servers+again.\u0026amp;theme=e8f7d3e2681ad873bff32e0b\u0026amp;signature=9f398e15c751924662fb9d25c1055c8dc3ce4b662aac430017fe973656ab360c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/ancha/7dKsVRky4BVXz6Qv/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Ancha\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#D97757\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ancha.io/cli/logout\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/cli/logout.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ancha.io/#organization\",\"name\":\"Ancha\",\"url\":\"https://docs.ancha.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ancha/ZjGIZQH_u9HX5PNO/logo/light.svg?fit=max\u0026auto=format\u0026n=ZjGIZQH_u9HX5PNO\u0026q=85\u0026s=6c9f535dd10609a27c36a19f4f940fa0\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ancha.io#website\",\"name\":\"Ancha\",\"url\":\"https://docs.ancha.io\",\"publisher\":{\"@id\":\"https://docs.ancha.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ancha.io/cli/logout#webpage\",\"url\":\"https://docs.ancha.io/cli/logout\",\"name\":\"ancha logout\",\"description\":\"Forget the saved sign-in for a hosted Ancha workspace so commands use local servers again.\",\"dateModified\":\"2026-10-31T08:00:26.389Z\",\"isPartOf\":{\"@id\":\"https://docs.ancha.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ancha.io/cli/logout#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ancha.io/cli/logout#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"CLI\",\"item\":\"https://docs.ancha.io/cli/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hosted workspace\",\"item\":\"https://docs.ancha.io/cli/login\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"ancha logout\",\"item\":\"https://docs.ancha.io/cli/logout\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.ancha.io/cli/logout#article\",\"headline\":\"ancha logout\",\"name\":\"ancha logout\",\"description\":\"Forget the saved sign-in for a hosted Ancha workspace so commands use local servers again.\",\"url\":\"https://docs.ancha.io/cli/logout\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ancha.io/cli/logout#webpage\"},\"dateModified\":\"2026-10-31T08:00:26.389Z\",\"publisher\":{\"@id\":\"https://docs.ancha.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ancha.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Ancha\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Ancha","nav":{"global":null,"groups":[{"group":"Get started","pages":[{"title":"Introduction","icon":"house","href":"/index"},{"title":"Quickstart","icon":"rocket","href":"/quickstart"},{"title":"For coding agents","icon":"robot","href":"/coding-agents"}]},{"group":"Guides","pages":[{"title":"Test a Slack bot","icon":"slack","href":"/guides/test-a-slack-bot"}]},{"group":"Concepts","pages":[{"title":"How Ancha works","sidebarTitle":"Overview","icon":"shapes","href":"/concepts/overview"},{"title":"Worlds","icon":"globe","href":"/concepts/worlds"},{"title":"Tests","icon":"flask","href":"/concepts/tests"},{"title":"Attempts and runs","icon":"repeat","href":"/concepts/attempts-and-runs"},{"title":"Checks","icon":"list-check","href":"/concepts/checks"}]},{"group":"Tools","pages":[{"title":"Tools","sidebarTitle":"Overview","icon":"toolbox","href":"/tools/overview"},{"group":"Communication and documents","pages":[{"title":"Slack","icon":"slack","href":"/tools/slack"},{"title":"Gmail","icon":"envelope","href":"/tools/gmail"},{"title":"Google Drive","icon":"google-drive","href":"/tools/google-drive"},{"title":"Microsoft Word","icon":"file-word","href":"/tools/microsoft-word"},{"title":"Notion","icon":"book","href":"/tools/notion"},{"title":"Dropbox","icon":"dropbox","href":"/tools/dropbox"},{"title":"Resend","icon":"paper-plane","href":"/tools/resend"}]},{"group":"Engineering and operations","pages":[{"title":"GitHub","icon":"github","href":"/tools/github"},{"title":"Datadog","icon":"dog","href":"/tools/datadog"},{"title":"PagerDuty","icon":"bell","href":"/tools/pagerduty"},{"title":"Better Stack","icon":"heart-pulse","href":"/tools/better-stack"},{"title":"Linear","icon":"bars-progress","href":"/tools/linear"},{"title":"Jira","icon":"jira","href":"/tools/jira"},{"title":"Okta","icon":"id-badge","href":"/tools/okta"},{"title":"Amazon S3","icon":"aws","href":"/tools/amazon-s3"},{"title":"Clerk","icon":"user-shield","href":"/tools/clerk"}]},{"group":"Revenue and commerce","pages":[{"title":"HubSpot","icon":"hubspot","href":"/tools/hubspot"},{"title":"Salesforce","icon":"salesforce","href":"/tools/salesforce"},{"title":"Attio","icon":"address-book","href":"/tools/attio"},{"title":"Gong","icon":"phone","href":"/tools/gong"},{"title":"Stripe","icon":"stripe","href":"/tools/stripe"},{"title":"PayPal","icon":"paypal","href":"/tools/paypal"},{"title":"Shopify","icon":"shopify","href":"/tools/shopify"},{"title":"Lob","icon":"envelopes-bulk","href":"/tools/lob"}]},{"group":"Marketing and analytics","pages":[{"title":"Google Analytics","icon":"chart-line","href":"/tools/google-analytics"},{"title":"Google Ads","icon":"google","href":"/tools/google-ads"},{"title":"LinkedIn Ads","icon":"linkedin","href":"/tools/linkedin-ads"},{"title":"ChatGPT Ads","icon":"message","href":"/tools/chatgpt-ads"}]},{"group":"Other","pages":[{"title":"Open-Meteo","icon":"cloud-sun","href":"/tools/open-meteo"},{"title":"Kalshi","icon":"chart-line","href":"/tools/kalshi"}]}]},{"group":"CLI","pages":[{"title":"CLI overview","sidebarTitle":"Overview","icon":"terminal","href":"/cli/overview"},{"group":"Test loop","expanded":true,"pages":[{"title":"ancha init","href":"/cli/init"},{"title":"ancha doctor","href":"/cli/doctor"},{"title":"ancha run","href":"/cli/run"},{"title":"ancha explain","href":"/cli/explain"},{"title":"ancha report","href":"/cli/report"},{"title":"ancha baseline","href":"/cli/baseline"},{"title":"ancha status","href":"/cli/status"},{"title":"ancha wait","href":"/cli/wait"},{"title":"ancha logs","href":"/cli/logs"},{"title":"ancha runs","href":"/cli/runs"}]},{"group":"Tools and scenes","pages":[{"title":"ancha twins","href":"/cli/twins"},{"title":"ancha connect","href":"/cli/connect"},{"title":"ancha scene","href":"/cli/scene"},{"title":"ancha docs","href":"/cli/docs"}]},{"group":"Automation","pages":[{"title":"ancha schema","href":"/cli/schema"},{"title":"ancha completion","href":"/cli/completion"}]},{"group":"Worlds","pages":[{"title":"World lifecycle","sidebarTitle":"world up, check, down","href":"/cli/world-lifecycle"},{"title":"ancha world gen","href":"/cli/world-gen"},{"title":"ancha world","href":"/cli/world"}]},{"group":"Servers and sandboxes","pages":[{"title":"ancha serve","href":"/cli/serve"},{"title":"ancha env","href":"/cli/env"},{"title":"ancha sandbox","href":"/cli/sandbox"},{"title":"ancha mcp","href":"/cli/mcp"},{"title":"ancha ui","href":"/cli/ui"}]},{"group":"Hosted workspace","pages":[{"title":"ancha login","description":"Sign in to your hosted Ancha workspace from this computer with a browser approval. Later commands run their worlds in the workspace.","href":"/cli/login"},{"title":"ancha logout","href":"/cli/logout"},{"title":"ancha whoami","description":"Show which workspace or local server commands use, where that choice came from, where ancha run puts its worlds, and whether an API key is available. Never prints a key.","href":"/cli/whoami"},{"title":"ancha secrets","href":"/cli/secrets"}]},{"group":"Agents and playgrounds","pages":[{"title":"ancha agent","href":"/cli/agent"},{"title":"ancha playground","href":"/cli/playground"},{"title":"ancha test","href":"/cli/test"},{"title":"ancha execution","href":"/cli/execution"}]}]},{"group":"Reference","pages":[{"title":"ancha.yaml","icon":"file-lines","href":"/reference/ancha-yaml"},{"title":"Test file (scene.yaml)","sidebarTitle":"Test file","icon":"file-code","href":"/reference/test-file"},{"title":"Checks reference","sidebarTitle":"Checks","icon":"list-check","href":"/reference/checks"},{"title":"Environment variables","icon":"key","href":"/reference/environment-variables"},{"title":"Errors and exit codes","sidebarTitle":"Errors","icon":"triangle-exclamation","href":"/reference/errors"}]},{"group":"Cloud","pages":[{"title":"Hosted workspace","sidebarTitle":"Overview","icon":"cloud","href":"/cloud/overview"},{"title":"Login and API keys","icon":"key","href":"/cloud/login-and-api-keys"},{"title":"Results in your workspace","sidebarTitle":"Results","icon":"cloud-arrow-up","href":"/cloud/results"},{"title":"CI","icon":"code-branch","href":"/cloud/ci"},{"title":"Secrets","icon":"lock","href":"/cloud/secrets"}]},{"group":"Help","pages":[{"title":"Troubleshooting","icon":"life-ring","href":"/troubleshooting"},{"title":"Changelog","icon":"clock-rotate-left","href":"/changelog"}]}]},"basePath":"","title":"ancha logout - Ancha","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":[],"chunks":[]}