Choose who can manage your organization’s members, billing and API keys
Every member of an organization is either an Admin or an Editor. Admins manage the organization itself. Editors work with its projects and branches.The person who creates an organization is its first Admin.
Members who joined before roles were introduced are Admins. Change anyone who does not need to manage the organization to Editor.
Select Organization Settings in the sidebar, then Members. Enter the email address, choose a role and select Send Invitation. New invitations default to Editor.
On the Members page, pick a new role from the dropdown next to the member. The change applies immediately, without signing out.An organization always keeps at least one Admin, so Xata refuses to demote or remove its last Admin. If you demote yourself, only another Admin can make you an Admin again.
A user API key acts with the current role of the member who created it, so an Editor’s key cannot perform Admin-only actions whatever its scopes. Organization API keys act with Admin access, limited by their scopes. See API Keys.
Was this page helpful?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Xata","colors":{"primary":"#735adc","light":"#735adc","dark":"#735adc"},"logo":{"light":"https://mintcdn.com/xata/rYmGPszzEBdWMgvX/logo/light.svg?fit=max\u0026auto=format\u0026n=rYmGPszzEBdWMgvX\u0026q=85\u0026s=4ef098482078f4153c39dc17dd26476b","dark":"https://mintcdn.com/xata/rYmGPszzEBdWMgvX/logo/dark.svg?fit=max\u0026auto=format\u0026n=rYmGPszzEBdWMgvX\u0026q=85\u0026s=906164890c462dfd9eb1d334f76aa98d"},"favicon":"https://mintcdn.com/xata/rYmGPszzEBdWMgvX/favicon.svg?fit=max\u0026auto=format\u0026n=rYmGPszzEBdWMgvX\u0026q=85\u0026s=d86bc351b43f47f5187c041a7cb5539a","api":{},"background":{"decoration":"grid"},"navbar":{"links":[{"href":"https://xata.io/contact-support","label":"Support"},{"href":"https://www.xatastatus.com/","label":"Status"},{"href":"https://github.com/xataio","label":"GitHub"}],"primary":{"type":"button","label":"Xata Console","href":"https://console.xata.io/"}},"footer":{"socials":{"x":"https://twitter.com/xata","linkedin":"https://www.linkedin.com/company/xataio","github":"https://github.com/xataio","discord":"https://xata.io/discord","youtube":"https://www.youtube.com/@xataio"}},"fonts":{"family":"Geist"},"icons":{"library":"fontawesome"},"integrations":{"gtm":{"tagId":"GTM-PMD75RM"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"xata","hasAudioNarration":false,"actualSubdomain":"xata","customDomains":["xata.io"],"gitSource":{"type":"github","owner":"xataio","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aee09dd6d6095043499eb24","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"Guides","count":60},{"language":"default","tag":"API Reference","count":51},{"language":"default","tag":"Endpoints","count":51},{"language":"default","tag":"Open Source","count":34},{"language":"default","tag":"pgstream","count":34},{"language":"default","tag":"Organizations","count":22},{"language":"default","tag":"CLI Reference","count":19},{"language":"default","tag":"Manage","count":17},{"language":"default","tag":"Release Notes","count":15},{"language":"default","tag":"AI Agents","count":10}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@xata.io"}},"basePath":"/docs","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":"rbac-expansion","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":"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":"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":"editor-metadata","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},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"#navigation-items li[id=\"/overview\"]>button[aria-controls]>div:last-child{display:none}"}],"page":{"pagePath":"platform/organization-roles","slug":"/platform/organization-roles","pageMetadata":{"title":"Organization roles","description":"Choose who can manage your organization's members, billing and API keys","icon":"user-shield","href":"/platform/organization-roles"},"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: \"Choose who can manage your organization’s members, billing and API keys\"\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={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Every member of an `,_jsx(_components.a,{href:`/platform/organization`,children:`organization`}),` is either an `,_jsx(_components.strong,{children:`Admin`}),` or an `,_jsx(_components.strong,{children:`Editor`}),`. Admins manage the organization itself. Editors work with its projects and branches.`]}),`\n`,_jsx(_components.p,{children:`The person who creates an organization is its first Admin.`}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Members who joined before roles were introduced are Admins. Change anyone who does not need to manage the organization to Editor.`})}),`\n`,_jsx(Heading,{level:`2`,id:`permissions`,children:`Permissions`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Action`}),_jsx(_components.th,{style:{textAlign:`center`},children:`Admin`}),_jsx(_components.th,{style:{textAlign:`center`},children:`Editor`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Create and manage projects and branches`}),_jsx(_components.td,{style:{textAlign:`center`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`center`},children:`Yes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Connect to and query databases`}),_jsx(_components.td,{style:{textAlign:`center`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`center`},children:`Yes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`View the organization, its members and invitations`}),_jsx(_components.td,{style:{textAlign:`center`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`center`},children:`Yes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Invite and remove members`}),_jsx(_components.td,{style:{textAlign:`center`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`center`},children:`No`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Change a member’s role`}),_jsx(_components.td,{style:{textAlign:`center`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`center`},children:`No`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Manage organization API keys`}),_jsx(_components.td,{style:{textAlign:`center`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`center`},children:`No`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`View and change billing`}),_jsx(_components.td,{style:{textAlign:`center`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`center`},children:`No`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Configure `,_jsx(_components.a,{href:`/platform/sso`,children:`single sign-on`})]}),_jsx(_components.td,{style:{textAlign:`center`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`center`},children:`No`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Rename or delete the organization`}),_jsx(_components.td,{style:{textAlign:`center`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`center`},children:`No`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`An Editor who attempts an Admin-only action through the API or CLI gets a `,_jsx(_components.code,{children:`403 Forbidden`}),` response.`]}),`\n`,_jsx(Heading,{level:`2`,id:`invite-a-member`,children:`Invite a member`}),`\n`,_jsxs(_components.p,{children:[`Select `,_jsx(_components.strong,{children:`Organization Settings`}),` in the sidebar, then `,_jsx(_components.strong,{children:`Members`}),`. Enter the email address, choose a role and select `,_jsx(_components.strong,{children:`Send Invitation`}),`. New invitations default to `,_jsx(_components.strong,{children:`Editor`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`from-the-cli`,children:`From the CLI`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,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:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Invite an Admin; omit --role to invite an Editor`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`xata`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` organization`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` members`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` invite`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --email`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` jane@example.com`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --role`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` admin`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`change-a-member’s-role`,children:`Change a member’s role`}),`\n`,_jsxs(_components.p,{children:[`On the `,_jsx(_components.strong,{children:`Members`}),` page, pick a new role from the dropdown next to the member. The change applies immediately, without signing out.`]}),`\n`,_jsx(_components.p,{children:`An organization always keeps at least one Admin, so Xata refuses to demote or remove its last Admin. If you demote yourself, only another Admin can make you an Admin again.`}),`\n`,_jsx(Heading,{level:`3`,id:`from-the-cli-2`,children:`From the CLI`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,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:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Find the member's user ID with: xata organization members list`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`xata`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` organization`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` members`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` set-role`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --user-id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`user-i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --role`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` editor`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`from-the-api`,children:`From the API`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.xata.tech/organizations/{organizationID}/members/{userID}/role`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$XATA_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"role\": \"editor\"}'`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`api-keys`,children:`API keys`}),`\n`,_jsxs(_components.p,{children:[`A user API key acts with the current role of the member who created it, so an Editor’s key cannot perform Admin-only actions whatever its scopes. Organization API keys act with Admin access, limited by their scopes. See `,_jsx(_components.a,{href:`/platform/api-key`,children:`API Keys`}),`.`]})]})}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":"Organization roles","description":"Choose who can manage your organization's members, billing and API keys","icon":"user-shield","href":"/platform/organization-roles"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Permissions","slug":"permissions","depth":2,"children":[]},{"title":"Invite a member","slug":"invite-a-member","depth":2,"children":[{"title":"From the CLI","slug":"from-the-cli","depth":3,"children":[]}]},{"title":"Change a member’s role","slug":"change-a-member’s-role","depth":2,"children":[{"title":"From the CLI","slug":"from-the-cli-2","depth":3,"children":[]},{"title":"From the API","slug":"from-the-api","depth":3,"children":[]}]},{"title":"API keys","slug":"api-keys","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/xata/42338cddc6e87248/tracking.js"],"subdomain":"xata","siteName":"Xata","title":"Organization roles - Xata","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-29T09:21:15.889Z","originalFileLocation":"platform/organization-roles.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=\"Choose who can manage your organization\u0026#x27;s members, billing and API keys\">\u003cmeta data-mint-head name=\"application-name\" content=\"Xata\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/xata/aBhvMQRuTYnJZzL3/_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=\"/docs/mintlify-assets/_mintlify/favicons/xata/aBhvMQRuTYnJZzL3/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/xata/aBhvMQRuTYnJZzL3/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/xata/aBhvMQRuTYnJZzL3/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/xata/aBhvMQRuTYnJZzL3/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/xata/aBhvMQRuTYnJZzL3/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/xata/aBhvMQRuTYnJZzL3/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/xata/aBhvMQRuTYnJZzL3/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/xata/aBhvMQRuTYnJZzL3/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Organization roles - Xata\">\u003cmeta data-mint-head property=\"og:description\" content=\"Choose who can manage your organization\u0026#x27;s members, billing and API keys\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Xata\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://xata.io/docs/platform/organization-roles\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://xata.mintlify.site/docs/_mintlify/api/og/v2?division=Manage\u0026amp;title=Organization+roles\u0026amp;description=Choose+who+can+manage+your+organization%27s+members%2C+billing+and+API+keys\u0026amp;theme=a98dfbe8d11c1328e16cdb2b\u0026amp;signature=cdd4a7367cc6db0d1335dd9f46a2e68cee4dfdbea9df00d1ab23539e85346088\">\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=\"Organization roles - Xata\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Choose who can manage your organization\u0026#x27;s members, billing and API keys\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://xata.mintlify.site/docs/_mintlify/api/og/v2?division=Manage\u0026amp;title=Organization+roles\u0026amp;description=Choose+who+can+manage+your+organization%27s+members%2C+billing+and+API+keys\u0026amp;theme=a98dfbe8d11c1328e16cdb2b\u0026amp;signature=cdd4a7367cc6db0d1335dd9f46a2e68cee4dfdbea9df00d1ab23539e85346088\">\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=\"/docs/mintlify-assets/_mintlify/favicons/xata/aBhvMQRuTYnJZzL3/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Xata\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#735adc\">\u003clink data-mint-head rel=\"canonical\" href=\"https://xata.io/docs/platform/organization-roles\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/platform/organization-roles.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://xata.io/#organization\",\"name\":\"Xata\",\"url\":\"https://xata.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/xata/rYmGPszzEBdWMgvX/logo/light.svg?fit=max\u0026auto=format\u0026n=rYmGPszzEBdWMgvX\u0026q=85\u0026s=4ef098482078f4153c39dc17dd26476b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://xata.io/docs#website\",\"name\":\"Xata\",\"url\":\"https://xata.io/docs\",\"publisher\":{\"@id\":\"https://xata.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://xata.io/docs/platform/organization-roles#webpage\",\"url\":\"https://xata.io/docs/platform/organization-roles\",\"name\":\"Organization roles\",\"description\":\"Choose who can manage your organization's members, billing and API keys\",\"dateModified\":\"2026-09-29T09:21:15.889Z\",\"isPartOf\":{\"@id\":\"https://xata.io/docs#website\"},\"breadcrumb\":{\"@id\":\"https://xata.io/docs/platform/organization-roles#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://xata.io/docs/platform/organization-roles#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Manage\",\"item\":\"https://xata.io/docs/platform/account\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Organization roles\",\"item\":\"https://xata.io/docs/platform/organization-roles\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://xata.io/docs/platform/organization-roles#article\",\"headline\":\"Organization roles\",\"name\":\"Organization roles\",\"description\":\"Choose who can manage your organization's members, billing and API keys\",\"url\":\"https://xata.io/docs/platform/organization-roles\",\"mainEntityOfPage\":{\"@id\":\"https://xata.io/docs/platform/organization-roles#webpage\"},\"dateModified\":\"2026-09-29T09:21:15.889Z\",\"publisher\":{\"@id\":\"https://xata.io/#organization\"},\"isPartOf\":{\"@id\":\"https://xata.io/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Xata\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Xata","nav":{"global":null,"tabs":[{"tab":"Guides","icon":"book-open","directory":"card","groups":[{"group":"Introduction","icon":"sparkles","root":{"title":"Xata Documentation","icon":"book","sidebarTitle":"Overview","mode":"frame","href":"/overview"},"pages":[]},{"group":"Get Started","icon":"rocket","pages":[{"title":"Quickstart","icon":"rocket","href":"/quickstart"}]},{"group":"Core Concepts","icon":"layer-group","pages":[{"title":"Branching","icon":"code-branch","iconType":"regular","href":"/core-concepts/branching"},{"title":"Data Anonymization","icon":"user-secret","href":"/core-concepts/anonymization"},{"title":"Schema Changes","icon":"database","href":"/core-concepts/schema-changes"},{"title":"Scale to Zero","icon":"pause","href":"/core-concepts/scale-to-zero"},{"title":"Serverless Proxy","icon":"bolt","href":"/core-concepts/serverless-proxy"},{"title":"Deployment Models","icon":"cloud","href":"/core-concepts/deployment"}]},{"group":"Branching Workflows","icon":"code-branch","pages":[{"title":"Create Branch","icon":"github","href":"/automations/ga-pr"},{"title":"Create a production clone","icon":"copy","href":"/tutorials/create-production-clone"},{"title":"Data Anonymization","icon":"user-secret","href":"/core-concepts/anonymization"},{"title":"Create Streaming Replica","icon":"right-left","href":"/tutorials/streaming-replication"},{"title":"Make Schema Changes","icon":"code-merge","href":"/tutorials/schema-change"},{"title":"Find and fix slow queries on a Xata branch","icon":"gauge-high","href":"/tutorials/find-slow-queries"}]},{"group":"Connect","icon":"plug","pages":[{"group":"ORMs","icon":"database","expanded":false,"pages":[{"title":"Use Xata with Drizzle","icon":"droplet","href":"/quickstarts/drizzle"}]},{"group":"Platforms","icon":"cloud","expanded":false,"pages":[{"title":"Use Xata with Netlify","icon":"cloud-arrow-up","href":"/quickstarts/netlify"},{"title":"Use Xata with Railway","icon":"train","href":"/quickstarts/railway"}]},{"group":"Tools","icon":"diagram-project","expanded":false,"pages":[{"title":"Use Xata with n8n","icon":"diagram-project","href":"/quickstarts/n8n"}]}]},{"group":"Manage","icon":"sliders","pages":[{"title":"Account Management","icon":"circle-user","href":"/platform/account"},{"title":"Organizations","description":"Collaborate with your team in a shared organization","icon":"users","href":"/platform/organization"},{"title":"Organization roles","icon":"user-shield","href":"/platform/organization-roles"},{"title":"API Keys","description":"Generate and manage API keys for secure access to your Xata database","icon":"key","href":"/platform/api-key"},{"title":"MCP Server","icon":"plug","href":"/platform/mcp"},{"title":"Projects","icon":"folder","href":"/platform/project"},{"title":"Branches","icon":"code-branch","href":"/platform/branch"},{"title":"Compute","icon":"microchip","href":"/platform/compute"},{"title":"Schemas","icon":"sitemap","href":"/platform/schemas"},{"title":"Migrations","icon":"code-merge","href":"/platform/migrations"},{"title":"SQL Editor","icon":"magnifying-glass","href":"/platform/sql-editor"},{"title":"Query insights","icon":"chart-simple","href":"/platform/query-insights"},{"title":"Metrics","icon":"chart-line","href":"/platform/metrics"},{"title":"Extensions","icon":"puzzle-piece","href":"/platform/extensions"},{"title":"Logs","icon":"file-lines","href":"/platform/logs"},{"title":"AWS PrivateLink","icon":"lock","href":"/platform/privatelink"},{"title":"Single sign-on","icon":"shield-halved","href":"/platform/sso"}]},{"group":"Import and Migrate","icon":"database","pages":[{"title":"Overview","icon":"list","href":"/migrations/overview"},{"title":"AWS RDS","icon":"aws","href":"/migrations/aws-rds"},{"title":"AWS Aurora","icon":"aws","href":"/migrations/aws-aurora"},{"title":"GCP Cloud SQL","icon":"google","href":"/migrations/gcp-cloudsql"},{"title":"Azure Database","icon":"microsoft","href":"/migrations/azure"},{"title":"Self-Hosted PostgreSQL","icon":"database","href":"/migrations/self-hosted"},{"title":"Greenmask (subsets)","icon":"scissors","href":"/migrations/greenmask"},{"title":"Neon","icon":"server","href":"/migrations/neon"},{"title":"Supabase","icon":"bolt","href":"/migrations/supabase"},{"title":"Parquet files","icon":"file","href":"/migrations/parquet"}]},{"group":"Workflows","icon":"gears","pages":[{"title":"GitHub App","icon":"github","href":"/automations/github-app"},{"title":"Vercel preview deployments","icon":"cloud-arrow-up","href":"/automations/vercel-github-app"},{"title":"Create Branch","icon":"github","href":"/automations/ga-pr"},{"title":"Scheduled Clone","icon":"github","href":"/automations/ga-clone"},{"title":"Merge Readiness","icon":"github","href":"/automations/ga-check"},{"title":"Scheduled Clone","icon":"calendar","href":"/automations/kubernetes-clone"},{"title":"Bulk Delete Branches","icon":"github","href":"/automations/ga-cleanup"}]},{"group":"AI Agents","icon":"robot","root":{"title":"Xata for Agents","icon":"robot","href":"/ai-agents/overview"},"pages":[{"title":"Agent onboarding","icon":"wand-magic-sparkles","href":"/ai-agents/onboarding"},{"title":"Agent Skills","icon":"star","href":"/ai-agents/agent-skills"},{"title":"Claude Code","icon":"terminal","href":"/ai-agents/claude-code"},{"title":"Codex","icon":"code","href":"/ai-agents/codex"},{"title":"Cursor","icon":"arrow-pointer","href":"/ai-agents/cursor"},{"title":"OpenCode","icon":"terminal","href":"/ai-agents/opencode"},{"title":"GitHub Copilot","icon":"github","href":"/ai-agents/github-copilot"},{"title":"Windsurf","icon":"wind","href":"/ai-agents/windsurf"},{"title":"Cline","icon":"check-double","href":"/ai-agents/cline"},{"title":"Devin","icon":"cloud","href":"/ai-agents/devin"}]},{"group":"Reference","icon":"book","pages":[{"title":"Changelog","icon":"ship","href":"/changelog"}]}]},{"tab":"API Reference","icon":"terminal","pages":[{"title":"API Reference","href":"/api-reference/organizations/get-list-of-organizations"}]},{"tab":"CLI Reference","icon":"square-terminal","pages":[{"title":"CLI Reference","href":"/cli"}]},{"tab":"Open Source","icon":"code-branch","menu":[{"item":"pgstream","icon":"right-left","description":"Postgres replication with schema-aware streaming.","pages":[{"title":"pgstream","href":"/opensource/pgstream/overview"}]}],"pages":[{"title":"Open Source","href":"/opensource/pgstream/overview"}]}]},"basePath":"","title":"Organization roles - Xata","buildId":"dpl_6dVqRXFR2Go5vF5RLvAdHuv189oT","deploymentId":"dpl_6dVqRXFR2Go5vF5RLvAdHuv189oT","dynamics":[],"chunks":[]}