Deletes the CLI session presented as the bearer credential (fperp logout). Only OAuth-minted CLI sessions can be revoked here; API keys are managed from account settings. Available on the live host only.
API key beginning with fp_live_ (live keys, served at developers.myfundedperpetuals.com) or fp_test_ (test keys, served at sandbox.myfundedperpetuals.com). A key presented on the other host is rejected with 401 and a message naming the correct host.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"MyFundedPerps Documentation","description":"Product guides, settings reference, and developer API documentation for MyFundedPerps.","colors":{"primary":"#1FA66D","light":"#36CF8F","dark":"#178154"},"logo":{"light":"https://mintcdn.com/my-funded-perps/4fIdVX54Kxh8hflY/logo-light.svg?fit=max\u0026auto=format\u0026n=4fIdVX54Kxh8hflY\u0026q=85\u0026s=cebe735a42f06ca5d2e4b567f53ed8af","dark":"https://mintcdn.com/my-funded-perps/4fIdVX54Kxh8hflY/logo-dark.svg?fit=max\u0026auto=format\u0026n=4fIdVX54Kxh8hflY\u0026q=85\u0026s=ea7bd47667966a4236f2ac14e298a94e","href":"https://myfundedperpetuals.com"},"favicon":"https://mintcdn.com/my-funded-perps/rdzqjiFhppEo_sEz/icon.svg?fit=max\u0026auto=format\u0026n=rdzqjiFhppEo_sEz\u0026q=85\u0026s=363c05a1c553e09ac5d1de9004defc84","appearance":{"default":"system"},"navbar":{"links":[{"href":"https://myfundedperpetuals.com/trade","label":"Trading Platform"}],"primary":{"type":"button","label":"Create API Key","href":"https://myfundedperpetuals.com/settings?section=api-keys"}},"footer":{"socials":{"website":"https://myfundedperpetuals.com"}},"search":{"prompt":"Search rules, guides, and API..."},"seo":{"organization":{"name":"MyFundedPerps","url":"https://myfundedperpetuals.com","sameAs":["https://x.com/MyFundedPerps","https://www.instagram.com/myfundedperps_/","https://github.com/MyFundedPerps"]},"indexing":"navigable"},"integrations":{"telemetry":{"enabled":true}},"contextual":{"options":["copy","view","chatgpt","claude","cursor","vscode"],"display":"header"},"markdown":{"schema":true},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"my-funded-perps","hasAudioNarration":false,"actualSubdomain":"my-funded-perps","customDomains":["docs.myfundedperpetuals.com"],"gitSource":{"type":"github","owner":"myfundedperps","repo":"myfundedperps","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6ade88236f6ff5358664aa6f","collectionId":"39870a6c-1ef1-41a5-8aad-5b7d443d1159","liveDeploymentHistoryId":"6ade88236f6ff5358664aa6f","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ade88236f6ff5358664aa6f","clientVersion":"0.0.3966","searchFilterCounts":[{"language":"default","tag":"Developers Guide","count":50},{"language":"default","tag":"Buyers Guide","count":40},{"language":"default","tag":"REST Reference","count":37},{"language":"default","tag":"Guides","count":19},{"language":"default","tag":"Developer API (Beta)","count":13},{"language":"default","tag":"Settings","count":13},{"language":"default","tag":"Accounts","count":9},{"language":"default","tag":"Strategy Orders","count":8},{"language":"default","tag":"Challenge Lifecycle","count":7},{"language":"default","tag":"Orders","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"editor-v7-file-tree","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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"editor-agent-model-picker","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":"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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/authentication/revoke-the-presented-cli-session","slug":"/api-reference/authentication/revoke-the-presented-cli-session","pageMetadata":{"title":"Revoke the presented CLI session","description":"Deletes the CLI session presented as the bearer credential (`fperp logout`). Only OAuth-minted CLI sessions can be revoked here; API keys are managed from account settings. Available on the live host only.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/auth/cli/revoke","href":"/api-reference/authentication/revoke-the-presented-cli-session","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Deletes the CLI session presented as the bearer credential (\", _jsx(_components.code, {\n children: \"fperp logout\"\n }), \"). Only OAuth-minted CLI sessions can be revoked here; API keys are managed from account settings. Available on the live host only.\"]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Revoke the presented CLI session","description":"Deletes the CLI session presented as the bearer credential (`fperp logout`). Only OAuth-minted CLI sessions can be revoked here; API keys are managed from account settings. Available on the live host only.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/auth/cli/revoke","href":"/api-reference/authentication/revoke-the-presented-cli-session","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"revokeCliSession","summary":"Revoke the presented CLI session","description":"Deletes the CLI session presented as the bearer credential (`fperp logout`). Only OAuth-minted CLI sessions can be revoked here; API keys are managed from account settings. Available on the live host only.","tags":["Authentication"],"x-fp-cli":false,"responses":{"200":"fca6ca17-ff28-4aa7-ae4e-60d1194a279b","401":"4b8c5fcd-d0fb-47f2-9c3b-94b656cc7502","429":"8dd75438-eba0-4f0a-8112-c3371d75bf9c"},"method":"post","type":"path","servers":["0bce700c-8f47-4d28-93c4-8c6a54f774e1","2fbded66-8dd6-4643-8b01-0e3f9d2ff197"],"security":["fcd3d2ac-ab78-48dc-85b7-d9c96875d7e0"],"path":"/v1/auth/cli/revoke","baseUrlOptions":["https://developers.myfundedperpetuals.com","https://sandbox.myfundedperpetuals.com"],"title":"Revoke the presented CLI session","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"responses":{"fca6ca17-ff28-4aa7-ae4e-60d1194a279b":{"description":"Whether a CLI session was revoked.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["revoked"],"properties":{"revoked":{"type":"boolean","isRequired":true,"uniqueKey":"data.revoked","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"revoked":true}}}},"exampleType":"generated"}},"exampleType":"generated"},"4b8c5fcd-d0fb-47f2-9c3b-94b656cc7502":{"description":"Missing, invalid, or revoked API key.","headers":{"WWW-Authenticate":{"schema":{"type":"string"}},"X-Request-Id":{"description":"Stable identifier for support and log correlation.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string\u003cuuid>"},"details":{"type":"array","description":"Present on request-validation failures, with one entry per invalid field so a request can be fixed in one pass.","items":{"type":"object","required":["field","issue"],"properties":{"field":{"type":"string","description":"Wire name of the offending request field, such as `size` or `operations[2].price`. The value `body` refers to the whole payload.","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","request_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","details":[{"field":"\u003cstring>","issue":"\u003cstring>"}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"8dd75438-eba0-4f0a-8112-c3371d75bf9c":{"description":"The per-IP request limit or an account-wide operation budget is exhausted.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer","minimum":1}},"X-Request-Id":{"description":"Stable identifier for support and log correlation.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string\u003cuuid>"},"details":{"type":"array","description":"Present on request-validation failures, with one entry per invalid field so a request can be fixed in one pass.","items":{"type":"object","required":["field","issue"],"properties":{"field":{"type":"string","description":"Wire name of the offending request field, such as `size` or `operations[2].price`. The value `body` refers to the whole payload.","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","request_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","details":[{"field":"\u003cstring>","issue":"\u003cstring>"}]}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"fcd3d2ac-ab78-48dc-85b7-d9c96875d7e0":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"MyFundedPerps API key","description":"API key beginning with `fp_live_` (live keys, served at developers.myfundedperpetuals.com) or `fp_test_` (test keys, served at sandbox.myfundedperpetuals.com). A key presented on the other host is rejected with `401` and a message naming the correct host.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"0bce700c-8f47-4d28-93c4-8c6a54f774e1":{"url":"https://developers.myfundedperpetuals.com","description":"Live"},"2fbded66-8dd6-4643-8b01-0e3f9d2ff197":{"url":"https://sandbox.myfundedperpetuals.com","description":"Sandbox (test keys and sandbox accounts only)"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"MyFundedPerps API key","description":"API key beginning with `fp_live_` (live keys, served at developers.myfundedperpetuals.com) or `fp_test_` (test keys, served at sandbox.myfundedperpetuals.com). A key presented on the other host is rejected with `401` and a message naming the correct host.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key beginning with `fp_live_` (live keys, served at developers.myfundedperpetuals.com) or `fp_test_` (test keys, served at sandbox.myfundedperpetuals.com). A key presented on the other host is rejected with `401` and a message naming the correct host.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"my-funded-perps","siteName":"MyFundedPerps Documentation","title":"Revoke the presented CLI session - MyFundedPerps Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-24T23:54:12.644Z","originalFileLocation":"api-reference/authentication/revoke-the-presented-cli-session.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=\"Deletes the CLI session presented as the bearer credential (fperp logout). Only OAuth-minted CLI sessions can be revoked here; API keys are managed from account settings. Available on the live host only.\">\u003cmeta data-mint-head name=\"application-name\" content=\"MyFundedPerps Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/my-funded-perps/REd-2uzEhUdc4sEx/_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/my-funded-perps/REd-2uzEhUdc4sEx/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/my-funded-perps/REd-2uzEhUdc4sEx/_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/my-funded-perps/REd-2uzEhUdc4sEx/_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/my-funded-perps/REd-2uzEhUdc4sEx/_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/my-funded-perps/REd-2uzEhUdc4sEx/_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/my-funded-perps/REd-2uzEhUdc4sEx/_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/my-funded-perps/REd-2uzEhUdc4sEx/_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/my-funded-perps/REd-2uzEhUdc4sEx/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Revoke the presented CLI session - MyFundedPerps Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Deletes the CLI session presented as the bearer credential (fperp logout). Only OAuth-minted CLI sessions can be revoked here; API keys are managed from account settings. Available on the live host only.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MyFundedPerps Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.myfundedperpetuals.com/api-reference/authentication/revoke-the-presented-cli-session\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://my-funded-perps.mintlify.app/_mintlify/api/og/v2?division=Authentication\u0026amp;title=Revoke+the+presented+CLI+session\u0026amp;description=Deletes+the+CLI+session+presented+as+the+bearer+credential+%28%60fperp+logout%60%29.+Only+OAuth-minted+CLI+sessions+can+be+revoked+here%3B+API+keys+are+managed+from+accou\u0026amp;theme=94835aa0e5a522f6511ee5ac\u0026amp;signature=ee06b096da88a2bba7677fecbfc2caec03f9b4d49fd61453a4adbd7d0248800d\">\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=\"Revoke the presented CLI session - MyFundedPerps Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Deletes the CLI session presented as the bearer credential (fperp logout). Only OAuth-minted CLI sessions can be revoked here; API keys are managed from account settings. Available on the live host only.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://my-funded-perps.mintlify.app/_mintlify/api/og/v2?division=Authentication\u0026amp;title=Revoke+the+presented+CLI+session\u0026amp;description=Deletes+the+CLI+session+presented+as+the+bearer+credential+%28%60fperp+logout%60%29.+Only+OAuth-minted+CLI+sessions+can+be+revoked+here%3B+API+keys+are+managed+from+accou\u0026amp;theme=94835aa0e5a522f6511ee5ac\u0026amp;signature=ee06b096da88a2bba7677fecbfc2caec03f9b4d49fd61453a4adbd7d0248800d\">\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/my-funded-perps/REd-2uzEhUdc4sEx/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MyFundedPerps Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1FA66D\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.myfundedperpetuals.com/api-reference/authentication/revoke-the-presented-cli-session\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/authentication/revoke-the-presented-cli-session.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://myfundedperpetuals.com/#organization\",\"name\":\"MyFundedPerps\",\"url\":\"https://myfundedperpetuals.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/my-funded-perps/4fIdVX54Kxh8hflY/logo-light.svg?fit=max\u0026auto=format\u0026n=4fIdVX54Kxh8hflY\u0026q=85\u0026s=cebe735a42f06ca5d2e4b567f53ed8af\"},\"sameAs\":[\"https://x.com/MyFundedPerps\",\"https://www.instagram.com/myfundedperps_/\",\"https://github.com/MyFundedPerps\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.myfundedperpetuals.com#website\",\"name\":\"MyFundedPerps Documentation\",\"url\":\"https://docs.myfundedperpetuals.com\",\"publisher\":{\"@id\":\"https://myfundedperpetuals.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.myfundedperpetuals.com/api-reference/authentication/revoke-the-presented-cli-session#webpage\",\"url\":\"https://docs.myfundedperpetuals.com/api-reference/authentication/revoke-the-presented-cli-session\",\"name\":\"Revoke the presented CLI session\",\"description\":\"Deletes the CLI session presented as the bearer credential (fperp logout). Only OAuth-minted CLI sessions can be revoked here; API keys are managed from account settings. Available on the live host only.\",\"dateModified\":\"2026-10-24T23:54:12.644Z\",\"isPartOf\":{\"@id\":\"https://docs.myfundedperpetuals.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.myfundedperpetuals.com/api-reference/authentication/revoke-the-presented-cli-session#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.myfundedperpetuals.com/api-reference/authentication/revoke-the-presented-cli-session#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"REST Reference\",\"item\":\"https://docs.myfundedperpetuals.com/api-reference\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://docs.myfundedperpetuals.com/api-reference/authentication/exchange-a-cli-authorization-code\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Revoke the presented CLI session\",\"item\":\"https://docs.myfundedperpetuals.com/api-reference/authentication/revoke-the-presented-cli-session\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.myfundedperpetuals.com/api-reference/authentication/revoke-the-presented-cli-session#apireference\",\"headline\":\"Revoke the presented CLI session\",\"name\":\"Revoke the presented CLI session\",\"description\":\"Deletes the CLI session presented as the bearer credential (fperp logout). Only OAuth-minted CLI sessions can be revoked here; API keys are managed from account settings. Available on the live host only.\",\"url\":\"https://docs.myfundedperpetuals.com/api-reference/authentication/revoke-the-presented-cli-session\",\"mainEntityOfPage\":{\"@id\":\"https://docs.myfundedperpetuals.com/api-reference/authentication/revoke-the-presented-cli-session#webpage\"},\"dateModified\":\"2026-10-24T23:54:12.644Z\",\"publisher\":{\"@id\":\"https://myfundedperpetuals.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.myfundedperpetuals.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MyFundedPerps Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"MyFundedPerps Documentation","nav":{"global":null,"tabs":[{"tab":"Buyers Guide","pages":[{"title":"Buyers Guide","href":""}]},{"tab":"Developers Guide","groups":[{"group":"Developer API (Beta)","pages":[{"title":"Quickstart","href":"/quickstart"},{"title":"API capabilities","href":"/api-capabilities"},{"title":"Command-Line Interface","href":"/cli"},{"title":"MCP Server","href":"/mcp-server"},{"title":"Trading with the API","href":"/trading-with-api"},{"title":"Account trading policy","href":"/trading-policy"},{"title":"Market data streaming","href":"/market-streaming"},{"title":"Account streaming","href":"/account-streaming"},{"title":"Authentication","href":"/authentication"},{"title":"Sandbox and test keys","href":"/sandbox"},{"title":"Idempotency","href":"/idempotency"},{"title":"Pagination","href":"/pagination"},{"title":"Errors and Rate Limits","href":"/errors-and-rate-limits"}]},{"group":"REST Reference","pages":[{"title":"API Reference","href":"/api-reference"},{"group":"Accounts","pages":[{"title":"List visible copy trading groups","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/copy-trading","href":"/api-reference/accounts/list-visible-copy-trading-groups"},{"title":"Save copy trading groups","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/copy-trading","href":"/api-reference/accounts/save-copy-trading-groups"},{"title":"Disable a copy trading group","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/copy-trading/{config_id}/disable","href":"/api-reference/accounts/disable-a-copy-trading-group"},{"title":"Acknowledge a completed copy stop","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/accounts/{account_id}/acknowledge-copy-stop","href":"/api-reference/accounts/acknowledge-a-completed-copy-stop"},{"title":"List challenge accounts","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/accounts","href":"/api-reference/accounts/list-challenge-accounts"},{"title":"Get a challenge account","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/accounts/{account_id}","href":"/api-reference/accounts/get-a-challenge-account"},{"title":"Get effective account trading policy","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/accounts/{account_id}/trading-policy","href":"/api-reference/accounts/get-effective-account-trading-policy"},{"title":"Cancel all working orders","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/accounts/{account_id}/cancel-all-orders","href":"/api-reference/accounts/cancel-all-working-orders"},{"title":"Close all open positions","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/accounts/{account_id}/close-all-positions","href":"/api-reference/accounts/close-all-open-positions"}]},{"group":"General","pages":[{"title":"Get API information","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1","href":"/api-reference/general/get-api-information"},{"title":"List restricted countries","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/restricted-countries","href":"/api-reference/general/list-restricted-countries"}]},{"group":"Authentication","pages":[{"title":"Exchange a CLI authorization code","description":"Redeems a one-time authorization code approved in the browser during `fperp login`, together with its PKCE code verifier, for a new expiring CLI session credential. The credential is returned exactly once and authenticates like an API key with trade access to every owned account. Available on the live host only. The `fperp` CLI calls this endpoint itself; it is documented for transparency rather than direct use.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/auth/cli/token","href":"/api-reference/authentication/exchange-a-cli-authorization-code"},{"title":"Revoke the presented CLI session","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/auth/cli/revoke","href":"/api-reference/authentication/revoke-the-presented-cli-session"}]},{"group":"Markets","pages":[{"title":"List tradable markets","description":"Returns the selected execution venue for each currently tradable instrument.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/markets","href":"/api-reference/markets/list-tradable-markets"},{"title":"Get a tradable market","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/markets/{market_id}","href":"/api-reference/markets/get-a-tradable-market"},{"title":"Get an execution quote","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/markets/{market_id}/quote","href":"/api-reference/markets/get-an-execution-quote"}]},{"group":"Positions","pages":[{"title":"List open positions","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/positions","href":"/api-reference/positions/list-open-positions"},{"title":"Get a position","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/positions/{position_id}","href":"/api-reference/positions/get-a-position"},{"title":"Close part or all of a position","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/positions/{position_id}/close","href":"/api-reference/positions/close-part-or-all-of-a-position"},{"title":"Atomically update position TP/SL orders","deprecated":null,"version":null,"openapi":"/openapi.yaml put /v1/positions/{position_id}/exit-orders","href":"/api-reference/positions/atomically-update-position-tpsl-orders"},{"title":"Set the position's extra isolated margin","deprecated":null,"version":null,"openapi":"/openapi.yaml put /v1/positions/{position_id}/isolated-margin","href":"/api-reference/positions/set-the-positions-extra-isolated-margin"}]},{"group":"Orders","pages":[{"title":"List recent orders","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/orders","href":"/api-reference/orders/list-recent-orders"},{"title":"Place a standard or advanced order","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/orders","href":"/api-reference/orders/place-a-standard-or-advanced-order"},{"title":"Get an order","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/orders/{order_id}","href":"/api-reference/orders/get-an-order"},{"title":"Cancel a working order","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /v1/orders/{order_id}","href":"/api-reference/orders/cancel-a-working-order"},{"title":"Modify a working order","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /v1/orders/{order_id}","href":"/api-reference/orders/modify-a-working-order"},{"title":"Update TP/SL attached to a resting limit or stop entry","deprecated":null,"version":null,"openapi":"/openapi.yaml put /v1/orders/{order_id}/attached-exits","href":"/api-reference/orders/update-tpsl-attached-to-a-resting-limit-or-stop-entry"}]},{"group":"Fills","pages":[{"title":"List fills in settlement order","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/fills","href":"/api-reference/fills/list-fills-in-settlement-order"}]},{"group":"Strategy Orders","pages":[{"title":"List active or historical TWAP and VWAP orders","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/twap-orders","href":"/api-reference/strategy-orders/list-active-or-historical-twap-and-vwap-orders"},{"title":"Create a TWAP or VWAP order","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/twap-orders","href":"/api-reference/strategy-orders/create-a-twap-or-vwap-order"},{"title":"Get a TWAP or VWAP order","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/twap-orders/{twap_order_id}","href":"/api-reference/strategy-orders/get-a-twap-or-vwap-order"},{"title":"Stop future TWAP or VWAP slices","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /v1/twap-orders/{twap_order_id}","href":"/api-reference/strategy-orders/stop-future-twap-or-vwap-slices"},{"title":"List scaled-order parents","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/scaled-orders","href":"/api-reference/strategy-orders/list-scaled-order-parents"},{"title":"Create a scaled price ladder","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/scaled-orders","href":"/api-reference/strategy-orders/create-a-scaled-price-ladder"},{"title":"Get a scaled order and its rungs","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/scaled-orders/{scaled_order_id}","href":"/api-reference/strategy-orders/get-a-scaled-order-and-its-rungs"},{"title":"Cancel a scaled order and its working rungs","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /v1/scaled-orders/{scaled_order_id}","href":"/api-reference/strategy-orders/cancel-a-scaled-order-and-its-working-rungs"}]}]}]}]},"title":"Revoke the presented CLI session - MyFundedPerps Documentation","buildId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","deploymentId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DKJwRUt2.js","utils-CWD_VS3u.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-oFjciODD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C76WsxC3.js","snippetPresets-DvPMxpX_.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CuNQfndH.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BVFpVUoF.js","shallow-t59Jg5Kr.js","getApiPlaygroundDisplay-C_JZ4amX.js","CodeSnippet-CLRDnx_h.js","CodeSnippets-C2myU4kc.js","Page-7TwLLapg.js","getPastedJson-B-JaVXw7.js","icon-BA-iDhH3.js","MethodPill-D4qZABFp.js","DuplicateIcon-THIDKO1O.js","createIcon-CYYJwgFd.js","DynamicMarkdown-UGQuxDKp.js","SectionHeading-jYELb23h.js","axios-vUo_bRtp.js","Markdown-DKsLa3wy.js","clsx-CefdjKz2.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BaREnp3o.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-sgx_0XzF.js"]}