Personal Access Token (PAT) passed in the Authorization header (e.g., Bearer <pat>) for authenticated API requests. PATs are generated via /auth/generate-pat after authenticating through the magic link flow.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"OneFirewall Documentation","colors":{"primary":"#0D9373","light":"#4475C5","dark":"#0C1427"},"favicon":"https://mintcdn.com/onefirewall/7guFu20M_sXWrG3T/favicon.png?fit=max\u0026auto=format\u0026n=7guFu20M_sXWrG3T\u0026q=85\u0026s=ec7b5d5a9ef605b4f89a6c961952575f","logo":{"light":"https://mintcdn.com/onefirewall/GBluirlWMPo2oQeM/logo/onefirewall-logo.png?fit=max\u0026auto=format\u0026n=GBluirlWMPo2oQeM\u0026q=85\u0026s=d78bae863124f3528cae4cec0b4c383a","dark":"https://app.onefirewall.com/assets/images/logo-negativ.png"},"api":{"openapi":["gateway-api.json","closedvpn/openapi.json"]},"navbar":{"links":[{"label":"Support","href":"https://onefirewall.com/contact.html?subject=Urgent:%20Immediate%20Assistance%20Required"}],"primary":{"type":"button","label":"Start Free Trial","href":"https://onefirewall.com/proof-of-value.html"}},"footer":{"socials":{"website":"https://onefirewall.com","github":"https://github.com/onefirewall","linkedin":"https://www.linkedin.com/company/onefirewall-alliance"}},"integrations":{"ga4":{"measurementId":"G-P017T6ZNCY"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Proof of Value","href":"https://onefirewall.com/proof-of-value.html","icon":"terminal"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"onefirewall","hasAudioNarration":false,"actualSubdomain":"onefirewall","customDomains":["docs.onefirewall.com"],"gitSource":{"type":"github","owner":"onefirewall","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aec74568029e5fb8e3e3efa","collectionId":"3a6f527a-b185-448c-9283-f5e9555a07e4","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aec74568029e5fb8e3e3efa"},"entitlements":{},"buildId":"6aec74568029e5fb8e3e3efa","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Documentation","count":92},{"language":"default","tag":"API - ClosedVPN","count":38},{"language":"default","tag":"API - OneFirewall","count":34},{"language":"default","tag":"Case Studies","count":29},{"language":"default","tag":"Essentials","count":23},{"language":"default","tag":"Releases","count":17},{"language":"default","tag":"WCF Agent","count":14},{"language":"default","tag":"Offensive Security","count":9},{"language":"default","tag":"AI Gateway","count":7},{"language":"default","tag":"Organizations","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"closedvpn/endpoint/organizations/get-orgs","slug":"/closedvpn/endpoint/organizations/get-orgs","pageMetadata":{"title":"List Organizations","openapi":"GET /auth/get-orgs","description":"Retrieves the list of active organizations the authenticated user is part of.","href":"/closedvpn/endpoint/organizations/get-orgs"},"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: \"Retrieves the list of active organizations the authenticated user is part of.\"\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":"List Organizations","openapi":"GET /auth/get-orgs","description":"Retrieves the list of active organizations the authenticated user is part of.","href":"/closedvpn/endpoint/organizations/get-orgs"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Organizations"],"operationId":"getOrganizations","summary":"Retrieve user's organizations","description":"Retrieves the list of active organizations the authenticated user is part of.","security":["372df6d3-bc6d-401e-991d-502a5cc4d379"],"responses":{"200":"c419138c-99a6-4531-9b9b-8b85b6e1dede","401":"46f71938-10e8-40c4-bf34-8a2de8e74ffd","404":"e4ae1f76-f411-43c9-8c44-4b7f8b1c9b69","500":"6678f279-aeb5-4bab-9440-092c2715b645"},"method":"get","type":"path","servers":["bc20a847-4913-41d6-9589-c098b681d39c"],"path":"/auth/get-orgs","baseUrlOptions":["https://closedvpn.io"],"title":"Retrieve user's organizations","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"responses":{"c419138c-99a6-4531-9b9b-8b85b6e1dede":{"description":"Organizations retrieved successfully","content":{"application/json":{"schema":{"type":"object","properties":{"orgs":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string","example":"60c72b2f5f1b2c001c8e4b1a","uniqueKey":"orgs.items.[INDEX]._id","typeLabel":"string"},"name":{"type":"string","example":"My Org","uniqueKey":"orgs.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","example":"Default organization","uniqueKey":"orgs.items.[INDEX].description","typeLabel":"string"},"org_avatar":{"type":"string","example":"data:image/svg+xml;base64,...","description":"Base64-encoded SVG identicon, or a caller-supplied image URL","uniqueKey":"orgs.items.[INDEX].org_avatar","typeLabel":"string"},"active":{"type":"boolean","example":true,"uniqueKey":"orgs.items.[INDEX].active","typeLabel":"boolean"},"users":{"type":"array","items":{"type":"object","properties":{"user_id":{"oneOf":[{"type":"string","description":"ObjectId of the member's user record, or null if they have been added but have not yet signed in for the first time.\n","example":"60c72b2f5f1b2c001c8e4b1b","uniqueKey":"orgs.items.[INDEX].users.items.[INDEX].user_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"ObjectId of the member's user record, or null if they have been added but have not yet signed in for the first time.\n","example":"60c72b2f5f1b2c001c8e4b1b","uniqueKey":"orgs.items.[INDEX].users.items.[INDEX].user_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"orgs.items.[INDEX].users.items.[INDEX].user_id","typeLabel":"string | null"},"email":{"type":"string","format":"email","example":"[email protected]","uniqueKey":"orgs.items.[INDEX].users.items.[INDEX].email","typeLabel":"string\u003cemail>"},"name":{"type":"string","example":"John Doe","uniqueKey":"orgs.items.[INDEX].users.items.[INDEX].name","typeLabel":"string"},"user_avatar":{"type":"string","example":"JD","description":"Initials or avatar representation","uniqueKey":"orgs.items.[INDEX].users.items.[INDEX].user_avatar","typeLabel":"string"},"role":{"type":"string","enum":["owner","member"],"example":"owner","uniqueKey":"orgs.items.[INDEX].users.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"active":{"type":"boolean","description":"False once the member has been removed or has left the organization","example":true,"uniqueKey":"orgs.items.[INDEX].users.items.[INDEX].active","typeLabel":"boolean"},"invitation":{"type":"object","properties":{"status":{"type":"string","enum":["completed"],"example":"completed","description":"Members are activated immediately; there is no accept or decline step","uniqueKey":"orgs.items.[INDEX].users.items.[INDEX].invitation.status","typeLabel":"enum\u003cstring>"},"createdAt":{"oneOf":[{"type":"integer","format":"int64","description":"Unix epoch milliseconds, or null if the member has not signed in yet","example":1735689600000,"uniqueKey":"orgs.items.[INDEX].users.items.[INDEX].invitation.createdAt.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","description":"Unix epoch milliseconds, or null if the member has not signed in yet","example":1735689600000,"uniqueKey":"orgs.items.[INDEX].users.items.[INDEX].invitation.createdAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"orgs.items.[INDEX].users.items.[INDEX].invitation.createdAt","typeLabel":"integer\u003cint64> | null"}},"uniqueKey":"orgs.items.[INDEX].users.items.[INDEX].invitation","typeLabel":"object"},"hasCertificate":{"type":"boolean","description":"Whether a VPN certificate has been issued to this member. The certificate itself is never returned by organization endpoints.\n","example":true,"uniqueKey":"orgs.items.[INDEX].users.items.[INDEX].hasCertificate","typeLabel":"boolean"},"membership_periods":{"type":"array","description":"Join and leave timestamps across the member's history in this organization","items":{"type":"object","properties":{"joinedAt":{"oneOf":[{"type":"integer","format":"int64","example":1735689600000,"uniqueKey":"orgs.items.[INDEX].users.items.[INDEX].membership_periods.items.[INDEX].joinedAt.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","example":1735689600000,"uniqueKey":"orgs.items.[INDEX].users.items.[INDEX].membership_periods.items.[INDEX].joinedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"orgs.items.[INDEX].users.items.[INDEX].membership_periods.items.[INDEX].joinedAt","typeLabel":"integer\u003cint64> | null"},"leftAt":{"oneOf":[{"type":"integer","format":"int64","description":"Null while the membership is still open","example":null,"uniqueKey":"orgs.items.[INDEX].users.items.[INDEX].membership_periods.items.[INDEX].leftAt.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","description":"Null while the membership is still open","example":null,"uniqueKey":"orgs.items.[INDEX].users.items.[INDEX].membership_periods.items.[INDEX].leftAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"orgs.items.[INDEX].users.items.[INDEX].membership_periods.items.[INDEX].leftAt","typeLabel":"integer\u003cint64> | null"}},"uniqueKey":"orgs.items.[INDEX].users.items.[INDEX].membership_periods.items.[INDEX]","typeLabel":"object"},"uniqueKey":"orgs.items.[INDEX].users.items.[INDEX].membership_periods","typeLabel":"object[]"},"createdAt":{"type":"integer","format":"int64","description":"Unix epoch milliseconds","example":1735689600000,"uniqueKey":"orgs.items.[INDEX].users.items.[INDEX].createdAt","typeLabel":"integer\u003cint64>"}},"uniqueKey":"orgs.items.[INDEX].users.items.[INDEX]","typeLabel":"object"},"uniqueKey":"orgs.items.[INDEX].users","typeLabel":"object[]"},"vpn_id":{"oneOf":[{"type":"string","description":"ObjectId of the VPN configuration assigned to this organization","example":"60c72b2f5f1b2c001c8e4b2a","uniqueKey":"orgs.items.[INDEX].vpn_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"ObjectId of the VPN configuration assigned to this organization","example":"60c72b2f5f1b2c001c8e4b2a","uniqueKey":"orgs.items.[INDEX].vpn_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"orgs.items.[INDEX].vpn_id","typeLabel":"string | null"},"vpn_name":{"type":"string","description":"Name of the assigned VPN, or \"No VPN Assigned\" if none is set","example":"Frankfurt Node","uniqueKey":"orgs.items.[INDEX].vpn_name","typeLabel":"string"},"used_licenses":{"type":"integer","description":"Number of certificates issued in this organization","example":3,"uniqueKey":"orgs.items.[INDEX].used_licenses","typeLabel":"integer"},"total_licenses":{"type":"integer","description":"Maximum number of certificates this organization may issue","example":10,"uniqueKey":"orgs.items.[INDEX].total_licenses","typeLabel":"integer"},"createdAt":{"type":"integer","format":"int64","description":"Creation time as Unix epoch milliseconds","example":1735689600000,"uniqueKey":"orgs.items.[INDEX].createdAt","typeLabel":"integer\u003cint64>"}},"uniqueKey":"orgs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"orgs","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"orgs":[{"_id":"60c72b2f5f1b2c001c8e4b1a","name":"My Org","description":"Default organization","org_avatar":"data:image/svg+xml;base64,...","active":true,"users":[{"user_id":"60c72b2f5f1b2c001c8e4b1b","email":"[email protected]","name":"John Doe","user_avatar":"JD","role":"owner","active":true,"invitation":{"status":"completed","createdAt":1735689600000},"hasCertificate":true,"membership_periods":[{"joinedAt":1735689600000,"leftAt":null}],"createdAt":1735689600000}],"vpn_id":"60c72b2f5f1b2c001c8e4b2a","vpn_name":"Frankfurt Node","used_licenses":3,"total_licenses":10,"createdAt":1735689600000}]}}},"exampleType":"generated"}},"exampleType":"generated"},"46f71938-10e8-40c4-bf34-8a2de8e74ffd":{"description":"Unauthorized (invalid or missing PAT)","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Unauthorized","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Unauthorized"}}},"exampleType":"generated"}},"exampleType":"generated"},"e4ae1f76-f411-43c9-8c44-4b7f8b1c9b69":{"description":"User not found","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"User not found","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"User not found"}}},"exampleType":"generated"}},"exampleType":"generated"},"6678f279-aeb5-4bab-9440-092c2715b645":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Error fetching organizations","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Error fetching organizations"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"372df6d3-bc6d-401e-991d-502a5cc4d379":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"PAT","description":"Personal Access Token (PAT) passed in the Authorization header (e.g., `Bearer \u003cpat>`) for authenticated API requests. PATs are generated via `/auth/generate-pat` after authenticating through the magic link flow.\n","scopes":[]}}},"servers":{"bc20a847-4913-41d6-9589-c098b681d39c":{"url":"https://closedvpn.io","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"PAT","description":"Personal Access Token (PAT) passed in the Authorization header (e.g., `Bearer \u003cpat>`) for authenticated API requests. PATs are generated via `/auth/generate-pat` after authenticating through the magic link flow.\n","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Personal Access Token (PAT) passed in the Authorization header (e.g., `Bearer \u003cpat>`) for authenticated API requests. PATs are generated via `/auth/generate-pat` after authenticating through the magic link flow.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"closedvpn/openapi.json"},"subdomain":"onefirewall","siteName":"OneFirewall Documentation","title":"List Organizations - OneFirewall Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-06T20:17:36.335Z","originalFileLocation":"closedvpn/endpoint/organizations/get-orgs.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=\"Retrieves the list of active organizations the authenticated user is part of.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OneFirewall 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/onefirewall/gIVqeDr01J3QMgeg/_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/onefirewall/gIVqeDr01J3QMgeg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/onefirewall/gIVqeDr01J3QMgeg/_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/onefirewall/gIVqeDr01J3QMgeg/_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/onefirewall/gIVqeDr01J3QMgeg/_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/onefirewall/gIVqeDr01J3QMgeg/_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/onefirewall/gIVqeDr01J3QMgeg/_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/onefirewall/gIVqeDr01J3QMgeg/_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/onefirewall/gIVqeDr01J3QMgeg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List Organizations - OneFirewall Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieves the list of active organizations the authenticated user is part of.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OneFirewall Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.onefirewall.com/closedvpn/endpoint/organizations/get-orgs\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://onefirewall.mintlify.site/_mintlify/api/og/v2?division=Organizations\u0026amp;title=List+Organizations\u0026amp;description=Retrieves+the+list+of+active+organizations+the+authenticated+user+is+part+of.\u0026amp;theme=d64f8676cbf42fa619f21957\u0026amp;signature=d614f0a4992c969bf0d04c06703f574239bc0200abb1436e0875368601613697\">\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=\"List Organizations - OneFirewall Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieves the list of active organizations the authenticated user is part of.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://onefirewall.mintlify.site/_mintlify/api/og/v2?division=Organizations\u0026amp;title=List+Organizations\u0026amp;description=Retrieves+the+list+of+active+organizations+the+authenticated+user+is+part+of.\u0026amp;theme=d64f8676cbf42fa619f21957\u0026amp;signature=d614f0a4992c969bf0d04c06703f574239bc0200abb1436e0875368601613697\">\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/onefirewall/gIVqeDr01J3QMgeg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OneFirewall Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.onefirewall.com/closedvpn/endpoint/organizations/get-orgs\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/closedvpn/endpoint/organizations/get-orgs.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.onefirewall.com/#organization\",\"name\":\"OneFirewall Documentation\",\"url\":\"https://docs.onefirewall.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/onefirewall/GBluirlWMPo2oQeM/logo/onefirewall-logo.png?fit=max\u0026auto=format\u0026n=GBluirlWMPo2oQeM\u0026q=85\u0026s=d78bae863124f3528cae4cec0b4c383a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.onefirewall.com#website\",\"name\":\"OneFirewall Documentation\",\"url\":\"https://docs.onefirewall.com\",\"publisher\":{\"@id\":\"https://docs.onefirewall.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.onefirewall.com/closedvpn/endpoint/organizations/get-orgs#webpage\",\"url\":\"https://docs.onefirewall.com/closedvpn/endpoint/organizations/get-orgs\",\"name\":\"List Organizations\",\"description\":\"Retrieves the list of active organizations the authenticated user is part of.\",\"dateModified\":\"2026-09-06T20:17:36.335Z\",\"isPartOf\":{\"@id\":\"https://docs.onefirewall.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.onefirewall.com/closedvpn/endpoint/organizations/get-orgs#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.onefirewall.com/closedvpn/endpoint/organizations/get-orgs#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"OneFirewall Documentation\",\"item\":\"https://docs.onefirewall.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List Organizations\",\"item\":\"https://docs.onefirewall.com/closedvpn/endpoint/organizations/get-orgs\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.onefirewall.com/closedvpn/endpoint/organizations/get-orgs#apireference\",\"headline\":\"List Organizations\",\"name\":\"List Organizations\",\"description\":\"Retrieves the list of active organizations the authenticated user is part of.\",\"url\":\"https://docs.onefirewall.com/closedvpn/endpoint/organizations/get-orgs\",\"mainEntityOfPage\":{\"@id\":\"https://docs.onefirewall.com/closedvpn/endpoint/organizations/get-orgs#webpage\"},\"dateModified\":\"2026-09-06T20:17:36.335Z\",\"publisher\":{\"@id\":\"https://docs.onefirewall.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.onefirewall.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OneFirewall Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"OneFirewall Documentation","nav":{"global":{"anchors":[{"anchor":"Proof of Value","href":"https://onefirewall.com/proof-of-value.html","icon":"terminal"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API - OneFirewall","pages":[{"title":"API - OneFirewall","href":"/api-reference/introduction"}]},{"tab":"API - ClosedVPN","groups":[{"group":"ClosedVPN API","pages":[{"title":"Introduction","href":"/closedvpn/introduction"},{"title":"Authorization","href":"/closedvpn/authorization"},{"title":"Creating a VPN Certificate","href":"/closedvpn/create-vpn-cert"}]},{"group":"Authentication","pages":[{"title":"Send Magic Link","openapi":"POST /auth/send-magic-link","href":"/closedvpn/endpoint/authentication/send-magic-link"},{"title":"Verify Magic Link","openapi":"GET /auth/verify-magic-link","href":"/closedvpn/endpoint/authentication/verify-magic-link"},{"title":"Validate Token","openapi":"GET /auth/validate-token","href":"/closedvpn/endpoint/authentication/validate-token"},{"title":"Logout","openapi":"POST /auth/logout","href":"/closedvpn/endpoint/authentication/logout"}]},{"group":"Personal Access Tokens","pages":[{"title":"Generate PAT","openapi":"POST /auth/generate-pat","href":"/closedvpn/endpoint/personal-access-tokens/generate-pat"},{"title":"List PATs","openapi":"GET /auth/get-pats","href":"/closedvpn/endpoint/personal-access-tokens/get-pats"},{"title":"Revoke PAT","openapi":"POST /auth/delete-pat","href":"/closedvpn/endpoint/personal-access-tokens/delete-pat"}]},{"group":"Profile","pages":[{"title":"Update Profile","openapi":"PUT /auth/settings-profile","description":"Updates the user's profile and syncs the new display name across every organization they belong to. The display name is composed from `givenName` and `surname`; there is no `name` field in the request. Omitted optional fields are reset to their empty value rather than left unchanged, so send the complete profile on every call.\n","href":"/closedvpn/endpoint/profile/update-profile"}]},{"group":"Organizations","pages":[{"title":"List Organizations","openapi":"GET /auth/get-orgs","href":"/closedvpn/endpoint/organizations/get-orgs"},{"title":"Get Organization","openapi":"GET /auth/get-org/{org_id}","description":"Retrieves details of a specific organization by ID if the user is a member.","href":"/closedvpn/endpoint/organizations/get-org"},{"title":"Create Organization","openapi":"POST /auth/create-org","href":"/closedvpn/endpoint/organizations/create-org"},{"title":"Update Organization","openapi":"POST /auth/update-org","href":"/closedvpn/endpoint/organizations/update-org"},{"title":"Select Organization","openapi":"POST /auth/select-org","href":"/closedvpn/endpoint/organizations/select-org"},{"title":"Delete Organization","openapi":"POST /auth/delete-org","href":"/closedvpn/endpoint/organizations/delete-org"}]},{"group":"Members","pages":[{"title":"Add Member","openapi":"POST /auth/add-user","href":"/closedvpn/endpoint/members/add-user"},{"title":"Update Member Role","openapi":"POST /auth/update-user-role","href":"/closedvpn/endpoint/members/update-user-role"},{"title":"Remove Member","openapi":"POST /auth/remove-user","href":"/closedvpn/endpoint/members/remove-user"},{"title":"Leave Organization","openapi":"POST /auth/leave-org","href":"/closedvpn/endpoint/members/leave-org"}]},{"group":"VPN Certificates","pages":[{"title":"Download Certificate","openapi":"GET /auth/download-certificate","href":"/closedvpn/endpoint/certificates/download-certificate"}]},{"group":"VPN Configurations","pages":[{"title":"List VPN Configurations","openapi":"GET /auth/vpn-configs","href":"/closedvpn/endpoint/vpn-configurations/list-vpn-configs"},{"title":"Get VPN Configuration","openapi":"GET /auth/vpn-config/{id}","href":"/closedvpn/endpoint/vpn-configurations/get-vpn-config"},{"title":"Create VPN Configuration","openapi":"POST /auth/create-vpn-config","href":"/closedvpn/endpoint/vpn-configurations/create-vpn-config"},{"title":"Update VPN Configuration","openapi":"PUT /auth/update-vpn-config/{id}","href":"/closedvpn/endpoint/vpn-configurations/update-vpn-config"},{"title":"Delete VPN Configuration","openapi":"DELETE /auth/delete-vpn-config/{id}","href":"/closedvpn/endpoint/vpn-configurations/delete-vpn-config"},{"title":"Execute VPN Command","openapi":"POST /auth/execute-vpn-command/{id}","href":"/closedvpn/endpoint/vpn-configurations/execute-vpn-command"}]},{"group":"VPN Exit Nodes","pages":[{"title":"List Exit Nodes","openapi":"GET /auth/vpn-exit-nodes","href":"/closedvpn/endpoint/vpn-exit-nodes/vpn-exit-nodes"},{"title":"List All VPNs","openapi":"GET /auth/vpns","href":"/closedvpn/endpoint/vpn-exit-nodes/list-vpns"}]},{"group":"Statistics","pages":[{"title":"VPN User Stats","openapi":"GET /auth/vpn-user-stats","href":"/closedvpn/endpoint/statistics/vpn-user-stats"},{"title":"VPN Traffic Report","openapi":"GET /auth/vpn-report-stats","href":"/closedvpn/endpoint/statistics/vpn-report-stats"},{"title":"Threat Prevention Stats","openapi":"GET /auth/threat-prevention-stats","href":"/closedvpn/endpoint/statistics/threat-prevention-stats"}]},{"group":"Notifications","pages":[{"title":"List Notifications","openapi":"GET /auth/get-notifications","href":"/closedvpn/endpoint/notifications/get-notifications"},{"title":"Count Notifications","openapi":"GET /auth/count-notifications","href":"/closedvpn/endpoint/notifications/count-notifications"},{"title":"Mark Notification Read","openapi":"POST /auth/mark-notification-read","href":"/closedvpn/endpoint/notifications/mark-notification-read"},{"title":"Mark All Notifications Read","openapi":"POST /auth/mark-all-notifications-read","href":"/closedvpn/endpoint/notifications/mark-all-notifications-read"}]},{"group":"Activity Logs","pages":[{"title":"Activity Logs","openapi":"GET /auth/activity-logs","href":"/closedvpn/endpoint/activity-logs/activity-logs"}]}]},{"tab":"Offensive Security","pages":[{"title":"Offensive Security","href":"/offensive-security/introduction"}]},{"tab":"AI Gateway","pages":[{"title":"AI Gateway","href":"/ai-gateway/introduction"}]}]},"basePath":"","title":"List Organizations - OneFirewall Documentation","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","Page-BUDYNlhG.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","clsx-eKJ4rcii.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CwjSCXIK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-9EK5IAXV.js"]}