This is a JSON mapping of schema id to either the data source that this user
group should be associated with or id of the datasource you provided when
creating it.
This is the user group token (userGroupToken or USER_GROUP_TOKEN) that will be
used to identify which user group is viewing the dashboard. You should save
this on your end to use when rendering an embedded dashboard.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"GLanDrive Docs","colors":{"primary":"#000000","light":"#AE87FF","dark":"#000000"},"favicon":"/favicon.png","logo":{"light":"https://www.glandrive.pt/glandrive.svg","dark":"https://www.glandrive.pt/glandrive.svg"},"background":{"decoration":null,"color":{"light":null,"dark":"#000000"}},"navbar":{"links":[{"label":"Support","href":"https://support.glandrive.pt"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.mintlify.com"}},"footer":{"socials":{"twitter":"https://twitter.com/mintlify","github":"https://github.com/mintlify","linkedin":"https://www.linkedin.com/company/mintsearch"}},"navigation":{"global":{"anchors":[{"anchor":"Documentation","href":"https://mintlify.com/docs","icon":"book-open-cover"},{"anchor":"Community","href":"https://mintlify.com/community","icon":"slack"},{"anchor":"Blog","href":"https://mintlify.com/blog","icon":"newspaper"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"glandrive","hasAudioNarration":false,"actualSubdomain":"glandrive","customDomains":["mint.glandrive.pt"],"gitSource":{"type":"github","owner":"glandrive","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a20c39e41886f9eab77b7f2","collectionId":"df640e30-1e9a-4216-89ee-321ea72a81a4","schemaVersion":"v2"},"entitlements":{},"buildId":"6a20c39e41886f9eab77b7f2:success","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"API Reference","count":97},{"language":"default","tag":"deployments1","count":64},{"language":"default","tag":"organizations","count":10},{"language":"default","tag":"Documentation","count":8},{"language":"default","tag":"users","count":7},{"language":"default","tag":"billing","count":6},{"language":"default","tag":"Essentials","count":5},{"language":"default","tag":"Endpoint Examples","count":4},{"language":"default","tag":"Get Started","count":3},{"language":"default","tag":"account","count":3}]},"assistantConfig":{},"basePath":"","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":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/update","slug":"/api-reference/endpoint/update","pageMetadata":{"title":"Update User","description":"This endpoint updates an existing user.","api":"PUT https://api.mintlify.com/api/user","href":"/api-reference/endpoint/update"},"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: \"This endpoint updates an existing user.\"\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={p:`p`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`This is the name of the user group.`})}),`\n`,_jsx(ParamField,{body:`user_group_id`,type:`string`,id:`param-user-group-id`,children:_jsx(_components.p,{children:`This is the ID you use to identify this user group in your database.`})}),`\n`,_jsx(ParamField,{body:`mapping`,type:`object`,id:`param-mapping`,children:_jsx(_components.p,{children:`This is a JSON mapping of schema id to either the data source that this user\ngroup should be associated with or id of the datasource you provided when\ncreating it.`})}),`\n`,_jsx(ParamField,{body:`properties`,type:`object`,id:`param-properties`,children:_jsx(_components.p,{children:`This is a JSON object for properties assigned to this user group. These will\nbe accessible through variables in the dashboards and SQL editor`})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`success`,type:`number`,id:`param-success`,children:_jsx(_components.p,{children:`Indicates whether the call was successful. 1 if successful, 0 if not.`})}),`\n`,_jsxs(ResponseField,{name:`user_group`,type:`object`,id:`param-user-group`,children:[_jsx(_components.p,{children:`The contents of the user group`}),_jsxs(Expandable,{title:`Toggle object`,children:[_jsx(ResponseField,{name:`team_id`,type:`number`,id:`param-team-id`,children:_jsx(_components.p,{children:`Indicates whether a new user group was created.`})}),_jsx(ResponseField,{name:`token`,type:`string`,id:`param-token`,children:_jsx(_components.p,{children:`This is the user group token (userGroupToken or USER_GROUP_TOKEN) that will be\nused to identify which user group is viewing the dashboard. You should save\nthis on your end to use when rendering an embedded dashboard.`})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-1`,children:_jsx(_components.p,{children:`This is the name of the user group provided in the request body.`})}),_jsx(ResponseField,{name:`provided_id`,type:`string`,id:`param-provided-id`,children:_jsx(_components.p,{children:`This is the user_group_id provided in the request body.`})}),_jsx(ResponseField,{name:`properties`,type:`JSON | Null`,id:`param-properties-1`,children:_jsx(_components.p,{children:`This is the properties object if it was provided in the request body`})}),_jsx(ResponseField,{name:`api_environment_tag`,type:`JSON or null`,id:`param-api-environment-tag`,children:_jsx(_components.p,{children:`This is the environment tag of the user group. Possible values are ‘Customer’\nand ‘Testing’`})})]})]})]})}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":"Update User","description":"This endpoint updates an existing user.","api":"PUT https://api.mintlify.com/api/user","href":"/api-reference/endpoint/update"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`This is the name of the user group.`})}),`\n`,_jsx(ParamField,{body:`user_group_id`,type:`string`,id:`param-user-group-id`,children:_jsx(_components.p,{children:`This is the ID you use to identify this user group in your database.`})}),`\n`,_jsx(ParamField,{body:`mapping`,type:`object`,id:`param-mapping`,children:_jsx(_components.p,{children:`This is a JSON mapping of schema id to either the data source that this user\ngroup should be associated with or id of the datasource you provided when\ncreating it.`})}),`\n`,_jsx(ParamField,{body:`properties`,type:`object`,id:`param-properties`,children:_jsx(_components.p,{children:`This is a JSON object for properties assigned to this user group. These will\nbe accessible through variables in the dashboards and SQL editor`})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`success`,type:`number`,id:`param-success`,children:_jsx(_components.p,{children:`Indicates whether the call was successful. 1 if successful, 0 if not.`})}),`\n`,_jsxs(ResponseField,{name:`user_group`,type:`object`,id:`param-user-group`,children:[_jsx(_components.p,{children:`The contents of the user group`}),_jsxs(Expandable,{title:`Toggle object`,children:[_jsx(ResponseField,{name:`team_id`,type:`number`,id:`param-team-id`,children:_jsx(_components.p,{children:`Indicates whether a new user group was created.`})}),_jsx(ResponseField,{name:`token`,type:`string`,id:`param-token`,children:_jsx(_components.p,{children:`This is the user group token (userGroupToken or USER_GROUP_TOKEN) that will be\nused to identify which user group is viewing the dashboard. You should save\nthis on your end to use when rendering an embedded dashboard.`})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-1`,children:_jsx(_components.p,{children:`This is the name of the user group provided in the request body.`})}),_jsx(ResponseField,{name:`provided_id`,type:`string`,id:`param-provided-id`,children:_jsx(_components.p,{children:`This is the user_group_id provided in the request body.`})}),_jsx(ResponseField,{name:`properties`,type:`JSON | Null`,id:`param-properties-1`,children:_jsx(_components.p,{children:`This is the properties object if it was provided in the request body`})}),_jsx(ResponseField,{name:`api_environment_tag`,type:`JSON or null`,id:`param-api-environment-tag`,children:_jsx(_components.p,{children:`This is the environment tag of the user group. Possible values are ‘Customer’\nand ‘Testing’`})})]})]}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`Example Request`,numberOfLines:`9`,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:`9`,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:` --location`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.mintlify.com/api/user'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_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:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization: Token \u003ctoken>'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--data-raw `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"user_group_id\": \"example_1\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Example 1\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"mapping\": {\"40\": \"213\", \"134\": \"386\"},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"properties\": {\"filterValue\": \"value\"}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response`,numberOfLines:`9`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"user_group\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"team_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`113`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cuser_group_token_to_auth_dashboard>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ok\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"provided_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})}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":"Update User","description":"This endpoint updates an existing user.","api":"PUT https://api.mintlify.com/api/user","href":"/api-reference/endpoint/update"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Body","slug":"body","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Example Request","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --location\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> PUT\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://api.mintlify.com/api/user'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">--header \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">--header \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Authorization: Token \u0026#x3C;token>'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">--data-raw \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"user_group_id\": \"example_1\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"name\": \"Example 1\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"mapping\": {\"40\": \"213\", \"134\": \"386\"},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"properties\": {\"filterValue\": \"value\"}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">}'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Response","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"user_group\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"team_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">113\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"token\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u0026#x3C;user_group_token_to_auth_dashboard>\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ok\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"provided_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"6\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Update User","path":"/api/user","servers":[{"url":"https://api.mintlify.com"}],"method":"put","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"name":[{"type":"string","description":"This is the name of the user group."}],"user_group_id":[{"type":"string","description":"This is the ID you use to identify this user group in your database."}],"mapping":[{"type":"object","properties":{},"description":"This is a JSON mapping of schema id to either the data source that this user group should be associated with or id of the datasource you provided when creating it."}],"properties":[{"type":"object","properties":{},"description":"This is a JSON object for properties assigned to this user group. These will be accessible through variables in the dashboards and SQL editor"}]}}],"examples":{"example":{"value":{"name":"\u003cstring>","user_group_id":"\u003cstring>","mapping":{},"properties":{}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"success":[{"type":"number","description":"Indicates whether the call was successful. 1 if successful, 0 if not."}],"user_group":[{"type":"object","properties":{"team_id":[{"type":"number","description":"Indicates whether a new user group was created."}],"token":[{"type":"string","description":"This is the user group token (userGroupToken or USER_GROUP_TOKEN) that will be used to identify which user group is viewing the dashboard. You should save this on your end to use when rendering an embedded dashboard."}],"name":[{"type":"string","description":"This is the name of the user group provided in the request body."}],"provided_id":[{"type":"string","description":"This is the user_group_id provided in the request body."}],"properties":[{"type":"object","properties":{},"description":"This is the properties object if it was provided in the request body"}],"api_environment_tag":[{"type":"object","properties":{},"description":"This is the environment tag of the user group. Possible values are ‘Customer’ and ‘Testing’"}]},"description":"The contents of the user group"}]}}],"examples":{"example":{"value":{"success":123,"user_group":{"team_id":123,"token":"\u003cstring>","name":"\u003cstring>","provided_id":"\u003cstring>","properties":{},"api_environment_tag":{}}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"glandrive","siteName":"GLanDrive Docs","title":"Update User - GLanDrive Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"api-reference/endpoint/update.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=\"This endpoint updates an existing user.\">\u003cmeta data-mint-head name=\"application-name\" content=\"GLanDrive Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/glandrive/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/glandrive/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/glandrive/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/glandrive/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update User - GLanDrive Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"This endpoint updates an existing user.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"GLanDrive Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://mint.glandrive.pt/api-reference/endpoint/update\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://glandrive.mintlify.app/_mintlify/api/og/v2?division=Endpoint+Examples\u0026amp;title=Update+User\u0026amp;description=This+endpoint+updates+an+existing+user.\u0026amp;theme=958c356bea01370d0c646ad0\u0026amp;signature=2537f0db2545fff6adecf0e68b9e74ba14c9dc5bf8b309775979dd46e3211f9d\">\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=\"Update User - GLanDrive Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"This endpoint updates an existing user.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://glandrive.mintlify.app/_mintlify/api/og/v2?division=Endpoint+Examples\u0026amp;title=Update+User\u0026amp;description=This+endpoint+updates+an+existing+user.\u0026amp;theme=958c356bea01370d0c646ad0\u0026amp;signature=2537f0db2545fff6adecf0e68b9e74ba14c9dc5bf8b309775979dd46e3211f9d\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/glandrive/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"GLanDrive Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://mint.glandrive.pt/api-reference/endpoint/update\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/update.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://mint.glandrive.pt/#organization\",\"name\":\"GLanDrive Docs\",\"url\":\"https://mint.glandrive.pt\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://www.glandrive.pt/glandrive.svg\"}},{\"@type\":\"WebSite\",\"@id\":\"https://mint.glandrive.pt#website\",\"name\":\"GLanDrive Docs\",\"url\":\"https://mint.glandrive.pt\",\"publisher\":{\"@id\":\"https://mint.glandrive.pt/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://mint.glandrive.pt/api-reference/endpoint/update#webpage\",\"url\":\"https://mint.glandrive.pt/api-reference/endpoint/update\",\"name\":\"Update User\",\"description\":\"This endpoint updates an existing user.\",\"isPartOf\":{\"@id\":\"https://mint.glandrive.pt#website\"},\"breadcrumb\":{\"@id\":\"https://mint.glandrive.pt/api-reference/endpoint/update#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://mint.glandrive.pt/api-reference/endpoint/update#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoint Examples\",\"item\":\"https://mint.glandrive.pt/api-reference/endpoint/get\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update User\",\"item\":\"https://mint.glandrive.pt/api-reference/endpoint/update\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://mint.glandrive.pt/api-reference/endpoint/update#apireference\",\"headline\":\"Update User\",\"name\":\"Update User\",\"description\":\"This endpoint updates an existing user.\",\"url\":\"https://mint.glandrive.pt/api-reference/endpoint/update\",\"mainEntityOfPage\":{\"@id\":\"https://mint.glandrive.pt/api-reference/endpoint/update#webpage\"},\"publisher\":{\"@id\":\"https://mint.glandrive.pt/#organization\"},\"isPartOf\":{\"@id\":\"https://mint.glandrive.pt#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"GLanDrive Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"GLanDrive Docs","nav":{"global":{"anchors":[{"anchor":"Documentation","href":"https://mintlify.com/docs","icon":"book-open-cover"},{"anchor":"Community","href":"https://mintlify.com/community","icon":"slack"},{"anchor":"Blog","href":"https://mintlify.com/blog","icon":"newspaper"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Authentication","href":"/api-reference/authentication"}]},{"group":"Endpoint Examples","pages":[{"title":"Get User","api":"GET https://api.mintlify.com/api/user","href":"/api-reference/endpoint/get"},{"title":"Create User","description":"This endpoint creates a new user","api":"POST https://api.mintlify.com/api/user","href":"/api-reference/endpoint/create"},{"title":"Update User","api":"PUT https://api.mintlify.com/api/user","href":"/api-reference/endpoint/update"},{"title":"Delete User","description":"This endpoint deletes an existing user.","api":"DELETE https://api.mintlify.com/api/user","href":"/api-reference/endpoint/delete"}]},{"group":"account","pages":[{"openapi":"get /account","href":"/api-reference/account/fetch-current-account-information","title":"Fetch current account information"},{"openapi":"put /account","href":"/api-reference/account/updates-the-current-account","title":"Updates the current account"},{"openapi":"patch /account","href":"/api-reference/account/updates-the-current-account-1","title":"Updates the current account"}]},{"group":"billing","pages":[{"openapi":"get /billing/costs/{organization_id}/charts","href":"/api-reference/billing/get-charts-for-the-organization-currently-unavailable-in-self-hosted-ece","title":"Get charts for the organization. Currently unavailable in self-hosted ECE."},{"openapi":"get /billing/costs/{organization_id}/deployments/{deployment_id}/charts","href":"/api-reference/billing/get-charts-by-deployment-currently-unavailable-in-self-hosted-ece","title":"Get charts by deployment. Currently unavailable in self-hosted ECE."},{"openapi":"get /billing/costs/{organization_id}/deployments/{deployment_id}/items","href":"/api-reference/billing/get-itemized-costs-by-deployments-currently-unavailable-in-self-hosted-ece","title":"Get itemized costs by deployments. Currently unavailable in self-hosted ECE."},{"openapi":"get /billing/costs/{organization_id}/deployments","href":"/api-reference/billing/get-deployments-costs-for-the-organization-currently-unavailable-in-self-hosted-ece","title":"Get deployments costs for the organization. Currently unavailable in self-hosted ECE."},{"openapi":"get /billing/costs/{organization_id}/items","href":"/api-reference/billing/get-itemized-costs-for-the-organization-currently-unavailable-in-self-hosted-ece","title":"Get itemized costs for the organization. Currently unavailable in self-hosted ECE."},{"openapi":"get /billing/costs/{organization_id}","href":"/api-reference/billing/get-costs-overview-for-the-organization-currently-unavailable-in-self-hosted-ece","title":"Get costs overview for the organization. Currently unavailable in self-hosted ECE."}]},{"group":"deployments1","pages":[{"openapi":"post /deployments/_search","href":"/api-reference/deployments1/search-deployments","title":"Search Deployments"},{"openapi":"post /deployments/eligible-remote-clusters","href":"/api-reference/deployments1/get-eligible-remote-clusters","title":"Get eligible remote clusters"},{"openapi":"get /deployments/extensions/{extension_id}","href":"/api-reference/deployments1/get-extension","title":"Get Extension"},{"openapi":"put /deployments/extensions/{extension_id}","href":"/api-reference/deployments1/uploads-the-extension","title":"Uploads the Extension"},{"openapi":"post /deployments/extensions/{extension_id}","href":"/api-reference/deployments1/update-extension","title":"Update Extension"},{"openapi":"delete /deployments/extensions/{extension_id}","href":"/api-reference/deployments1/delete-extension","title":"Delete Extension"},{"openapi":"get /deployments/extensions","href":"/api-reference/deployments1/list-extensions","title":"List Extensions"},{"openapi":"post /deployments/extensions","href":"/api-reference/deployments1/create-an-extension","title":"Create an extension"},{"openapi":"get /deployments/templates/{template_id}","href":"/api-reference/deployments1/get-deployment-template","title":"Get deployment template"},{"openapi":"get /deployments/templates","href":"/api-reference/deployments1/get-deployment-templates","title":"Get deployment templates"},{"openapi":"get /deployments/traffic-filter/associations/{association_type}/{associated_entity_id}/rulesets","href":"/api-reference/deployments1/get-associated-rulesets","title":"Get associated rulesets"},{"openapi":"post /deployments/traffic-filter/link-ids/_claim","href":"/api-reference/deployments1/claim-a-link-id","title":"Claim a link id"},{"openapi":"post /deployments/traffic-filter/link-ids/_unclaim","href":"/api-reference/deployments1/unclaims-a-link-id","title":"Unclaims a link id"},{"openapi":"get /deployments/traffic-filter/link-ids","href":"/api-reference/deployments1/list-traffic-filter-claimed-link-id","title":"List traffic filter claimed link id"},{"openapi":"delete /deployments/traffic-filter/rulesets/{ruleset_id}/associations/{association_type}/{associated_entity_id}","href":"/api-reference/deployments1/delete-ruleset-association","title":"Delete ruleset association"},{"openapi":"get /deployments/traffic-filter/rulesets/{ruleset_id}/associations","href":"/api-reference/deployments1/get-associated-deployments","title":"Get associated deployments"},{"openapi":"post /deployments/traffic-filter/rulesets/{ruleset_id}/associations","href":"/api-reference/deployments1/create-ruleset-association","title":"Create ruleset association"},{"openapi":"get /deployments/traffic-filter/rulesets/{ruleset_id}","href":"/api-reference/deployments1/retrieves-the-ruleset-by-id","title":"Retrieves the ruleset by ID."},{"openapi":"put /deployments/traffic-filter/rulesets/{ruleset_id}","href":"/api-reference/deployments1/updates-a-ruleset","title":"Updates a ruleset"},{"openapi":"delete /deployments/traffic-filter/rulesets/{ruleset_id}","href":"/api-reference/deployments1/delete-a-ruleset","title":"Delete a ruleset"},{"openapi":"get /deployments/traffic-filter/rulesets","href":"/api-reference/deployments1/list-traffic-filter-rulesets","title":"List traffic filter rulesets"},{"openapi":"post /deployments/traffic-filter/rulesets","href":"/api-reference/deployments1/create-a-ruleset","title":"Create a ruleset"},{"openapi":"post /deployments/{deployment_id}/_restore","href":"/api-reference/deployments1/restores-a-shutdown-deployment","title":"Restores a shutdown Deployment"},{"openapi":"post /deployments/{deployment_id}/_shutdown","href":"/api-reference/deployments1/shuts-down-deployment","title":"Shuts down Deployment"},{"openapi":"post /deployments/{deployment_id}/apm/{ref_id}/_reset-token","href":"/api-reference/deployments1/reset-the-secret-token-for-an-apm-resource","title":"Reset the secret token for an APM resource."},{"openapi":"get /deployments/{deployment_id}/apm/{ref_id}","href":"/api-reference/deployments1/get-deployment-apm-resource-info","title":"Get Deployment APM Resource Info"},{"openapi":"get /deployments/{deployment_id}/appsearch/{ref_id}/read_only_mode","href":"/api-reference/deployments1/set-appsearch-read-only-status","title":"Set AppSearch read-only status"},{"openapi":"put /deployments/{deployment_id}/appsearch/{ref_id}/read_only_mode","href":"/api-reference/deployments1/set-appsearch-read-only-status-1","title":"Set AppSearch read-only status"},{"openapi":"get /deployments/{deployment_id}/appsearch/{ref_id}","href":"/api-reference/deployments1/get-deployment-app-search-resource-info","title":"Get Deployment App Search Resource Info"},{"openapi":"get /deployments/{deployment_id}/certificate-authority","href":"/api-reference/deployments1/get-certificate-authority","title":"Get certificate authority"},{"openapi":"post /deployments/{deployment_id}/elasticsearch/{ref_id}/_enable-ccr","href":"/api-reference/deployments1/migrate-elasticsearch-and-associated-kibana-resources-to-enable-ccr","title":"Migrate Elasticsearch and associated Kibana resources to enable CCR"},{"openapi":"post /deployments/{deployment_id}/elasticsearch/{ref_id}/_enable-ilm","href":"/api-reference/deployments1/migrate-elasticsearch-resource-to-use-ilm","title":"Migrate Elasticsearch resource to use ILM"},{"openapi":"post /deployments/{deployment_id}/elasticsearch/{ref_id}/_enable-slm","href":"/api-reference/deployments1/migrate-elasticsearch-resource-to-use-slm","title":"Migrate Elasticsearch resource to use SLM"},{"openapi":"post /deployments/{deployment_id}/elasticsearch/{ref_id}/_reset-password","href":"/api-reference/deployments1/reset-elastic-user-password","title":"Reset 'elastic' user password"},{"openapi":"post /deployments/{deployment_id}/elasticsearch/{ref_id}/_restart","href":"/api-reference/deployments1/restart-deployment-elasticsearch-resource","title":"Restart Deployment Elasticsearch Resource"},{"openapi":"post /deployments/{deployment_id}/elasticsearch/{ref_id}/_shutdown","href":"/api-reference/deployments1/shutdown-deployment-elasticsearch-resource","title":"Shutdown Deployment Elasticsearch Resource"},{"openapi":"post /deployments/{deployment_id}/elasticsearch/{ref_id}/eligible-remote-clusters","href":"/api-reference/deployments1/get-eligible-remote-clusters-1","title":"Get eligible remote clusters"},{"openapi":"get /deployments/{deployment_id}/elasticsearch/{ref_id}/keystore","href":"/api-reference/deployments1/get-the-items-in-the-elasticsearch-resource-keystore","title":"Get the items in the Elasticsearch resource keystore"},{"openapi":"patch /deployments/{deployment_id}/elasticsearch/{ref_id}/keystore","href":"/api-reference/deployments1/add-or-remove-items-from-the-elasticsearch-resource-keystore","title":"Add or remove items from the Elasticsearch resource keystore"},{"openapi":"get /deployments/{deployment_id}/elasticsearch/{ref_id}/remote-clusters","href":"/api-reference/deployments1/get-certificate-based-remote-clusters","title":"Get certificate based remote clusters"},{"openapi":"put /deployments/{deployment_id}/elasticsearch/{ref_id}/remote-clusters","href":"/api-reference/deployments1/set-certificate-based-remote-clusters","title":"Set certificate based remote clusters"},{"openapi":"get /deployments/{deployment_id}/elasticsearch/{ref_id}","href":"/api-reference/deployments1/get-deployment-elasticsearch-resource-info","title":"Get Deployment Elasticsearch Resource Info"},{"openapi":"get /deployments/{deployment_id}/enterprise_search/{ref_id}","href":"/api-reference/deployments1/get-deployment-enterprise-search-resource-info","title":"Get Deployment Enterprise Search Resource Info"},{"openapi":"get /deployments/{deployment_id}/integrations_server/{ref_id}","href":"/api-reference/deployments1/get-deployment-integrations-server-resource-info","title":"Get Deployment Integrations Server Resource Info"},{"openapi":"get /deployments/{deployment_id}/kibana/{ref_id}","href":"/api-reference/deployments1/get-deployment-kibana-resource-info","title":"Get Deployment Kibana Resource Info"},{"openapi":"get /deployments/{deployment_id}/migrate_template","href":"/api-reference/deployments1/build-request-to-migrate-deployment-to-a-different-template","title":"Build request to migrate deployment to a different template"},{"openapi":"get /deployments/{deployment_id}/upgrade_assistant/status","href":"/api-reference/deployments1/get-deployment-upgade-assistant-status","title":"Get Deployment upgade assistant status"},{"openapi":"post /deployments/{deployment_id}/{resource_kind}/{ref_id}/_restore","href":"/api-reference/deployments1/restores-a-shutdown-resource","title":"Restores a shutdown resource"},{"openapi":"post /deployments/{deployment_id}/{resource_kind}/{ref_id}/instances/_start","href":"/api-reference/deployments1/start-all-instances","title":"Start all instances"},{"openapi":"post /deployments/{deployment_id}/{resource_kind}/{ref_id}/instances/_stop","href":"/api-reference/deployments1/stop-all-instances","title":"Stop all instances"},{"openapi":"post /deployments/{deployment_id}/{resource_kind}/{ref_id}/instances/maintenance-mode/_start","href":"/api-reference/deployments1/start-maintenance-mode-all-instances","title":"Start maintenance mode (all instances)"},{"openapi":"post /deployments/{deployment_id}/{resource_kind}/{ref_id}/instances/maintenance-mode/_stop","href":"/api-reference/deployments1/stop-maintenance-mode-all-instances","title":"Stop maintenance mode (all instances)"},{"openapi":"post /deployments/{deployment_id}/{resource_kind}/{ref_id}/instances/{instance_ids}/_start","href":"/api-reference/deployments1/start-instances","title":"Start instances"},{"openapi":"post /deployments/{deployment_id}/{resource_kind}/{ref_id}/instances/{instance_ids}/_stop","href":"/api-reference/deployments1/stop-instances","title":"Stop instances"},{"openapi":"post /deployments/{deployment_id}/{resource_kind}/{ref_id}/instances/{instance_ids}/maintenance-mode/_start","href":"/api-reference/deployments1/start-maintenance-mode","title":"Start maintenance mode"},{"openapi":"post /deployments/{deployment_id}/{resource_kind}/{ref_id}/instances/{instance_ids}/maintenance-mode/_stop","href":"/api-reference/deployments1/stop-maintenance-mode","title":"Stop maintenance mode"},{"openapi":"delete /deployments/{deployment_id}/{resource_kind}/{ref_id}/plan/pending","href":"/api-reference/deployments1/cancel-resource-pending-plan","title":"Cancel resource pending plan"},{"openapi":"post /deployments/{deployment_id}/{stateless_resource_kind}/{ref_id}/_restart","href":"/api-reference/deployments1/restart-deployment-stateless-resource","title":"Restart Deployment Stateless Resource"},{"openapi":"post /deployments/{deployment_id}/{stateless_resource_kind}/{ref_id}/_shutdown","href":"/api-reference/deployments1/shutdown-deployment-stateless-resource","title":"Shutdown Deployment Stateless Resource"},{"openapi":"post /deployments/{deployment_id}/{stateless_resource_kind}/{ref_id}/_upgrade","href":"/api-reference/deployments1/upgrade-kibana-apm-integrations-server-appsearch-enterprise-search-inside-deployment","title":"Upgrade Kibana, APM, Integrations Server, AppSearch, Enterprise Search inside Deployment"},{"openapi":"get /deployments/{deployment_id}","href":"/api-reference/deployments1/get-deployment","title":"Get Deployment"},{"openapi":"put /deployments/{deployment_id}","href":"/api-reference/deployments1/update-deployment","title":"Update Deployment"},{"openapi":"get /deployments","href":"/api-reference/deployments1/list-deployments","title":"List Deployments"},{"openapi":"post /deployments","href":"/api-reference/deployments1/create-deployment","title":"Create Deployment"}]},{"group":"organizations","pages":[{"openapi":"post /organizations/invitations/{invitation_token}/_accept","href":"/api-reference/organizations/accept-an-organization-invitation","title":"Accept an organization invitation"},{"openapi":"get /organizations/invitations/{invitation_token}","href":"/api-reference/organizations/get-organization-invitation","title":"Get organization invitation"},{"openapi":"delete /organizations/{organization_id}/invitations/{invitation_tokens}","href":"/api-reference/organizations/delete-organization-invitations","title":"Delete organization invitations"},{"openapi":"get /organizations/{organization_id}/invitations","href":"/api-reference/organizations/list-organization-invitations","title":"List organization invitations"},{"openapi":"post /organizations/{organization_id}/invitations","href":"/api-reference/organizations/create-organization-invitations","title":"Create organization invitations"},{"openapi":"delete /organizations/{organization_id}/members/{user_ids}","href":"/api-reference/organizations/delete-organization-memberships","title":"Delete organization memberships"},{"openapi":"get /organizations/{organization_id}/members","href":"/api-reference/organizations/list-organization-members","title":"List organization members"},{"openapi":"get /organizations/{organization_id}","href":"/api-reference/organizations/fetch-organization-information","title":"Fetch organization information"},{"openapi":"put /organizations/{organization_id}","href":"/api-reference/organizations/update-organization","title":"Update organization"},{"openapi":"get /organizations","href":"/api-reference/organizations/list-organizations","title":"List organizations"}]},{"group":"stack","pages":[{"openapi":"get /stack/versions","href":"/api-reference/stack/get-stack-versions","title":"Get stack versions"}]},{"group":"trusted-environments","pages":[{"openapi":"get /trusted-environments","href":"/api-reference/trusted-environments/get-trusted-environments","title":"Get trusted environments"}]},{"group":"users","pages":[{"openapi":"get /users/auth/keys/{api_key_id}","href":"/api-reference/users/get-api-key","title":"Get API key"},{"openapi":"delete /users/auth/keys/{api_key_id}","href":"/api-reference/users/delete-api-key","title":"Delete API key"},{"openapi":"get /users/auth/keys","href":"/api-reference/users/get-all-api-keys","title":"Get all API keys"},{"openapi":"post /users/auth/keys","href":"/api-reference/users/create-api-key","title":"Create API key"},{"openapi":"delete /users/auth/keys","href":"/api-reference/users/delete-api-keys","title":"Delete API keys"},{"openapi":"post /users/{user_id}/role_assignments","href":"/api-reference/users/add-role-assignments","title":"Add Role Assignments"},{"openapi":"delete /users/{user_id}/role_assignments","href":"/api-reference/users/remove-role-assignments","title":"Remove Role Assignments"}]}]},{"tab":"Integrations","href":"https://www.google.com"}]},"title":"Update User - GLanDrive Docs","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-26-lDe7V.js","utils-CWQmgYtH.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-4-Aw3rSD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C2zjXYA5.js","snippetPresets-DFmpFA7C.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-FJpQavWq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D_GvPF7k.js","shallow-Bs2ZB0NO.js","getApiPlaygroundDisplay-DCcqJJk-.js","CodeSnippet-DzDxawVe.js","CodeSnippets-aUr7fU-7.js","Page-CT9uE8Ip.js","getPastedJson-Y1fKsj_I.js","icon-DI4zTsDr.js","MethodPill-C0nDlmSQ.js","DuplicateIcon-NUXbx2nQ.js","createIcon-BdTHrPAi.js","DynamicMarkdown-CtpgKJwj.js","SectionHeading-B3x35tOt.js","axios-vUo_bRtp.js"]}