{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Chartbrew Docs","colors":{"primary":"#048BDE","light":"#048BDE","dark":"#048BDE"},"logo":{"light":"https://mintcdn.com/chartbrew/iWQ6NZZBE_sjkVAv/logo/cb_logo_dark.svg?fit=max\u0026auto=format\u0026n=iWQ6NZZBE_sjkVAv\u0026q=85\u0026s=63c4d85b8d2a52c5c44a0d074fc0b0e1","dark":"https://mintcdn.com/chartbrew/iWQ6NZZBE_sjkVAv/logo/logo_dark_mode.svg?fit=max\u0026auto=format\u0026n=iWQ6NZZBE_sjkVAv\u0026q=85\u0026s=32cfcd9274d4d367a4f214e6677c4572"},"favicon":"https://mintcdn.com/chartbrew/YPArDehzXjtype0O/favicon.png?fit=max\u0026auto=format\u0026n=YPArDehzXjtype0O\u0026q=85\u0026s=3d8d07bd5c4cf5be4811910caa27cd44","api":{"playground":{"display":"interactive","proxy":false},"mdx":{"server":"http://localhost:4021"}},"navbar":{"links":[{"href":"https://github.com/chartbrew/chartbrew/issues","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.chartbrew.com"}},"footer":{"socials":{"x":"https://x.com/chartbrew","github":"https://github.com/chartbrew","linkedin":"https://linkedin.com/company/chartbrew"}},"seo":{"metatags":{"title":"Chartbrew Docs","og:title":"Chartbrew Docs","description":"Chartbrew Documentation - Learn how to automate your reporting with Chartbrew.","og:description":"Chartbrew Documentation - Learn how to automate your reporting with Chartbrew.","og:type":"website","og:image":"https://cdn2.chartbrew.com/banners/MainOG.png","og:url":"https://docs.chartbrew.com","twitter:card":"summary_large_image","twitter:title":"Chartbrew Docs","twitter:description":"Chartbrew Documentation - Learn how to automate your reporting with Chartbrew.","twitter:image":"https://cdn2.chartbrew.com/banners/MainOG.png","twitter:site":"@chartbrew"},"indexing":"navigable"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://chartbrew.com"},{"anchor":"Community","icon":"Discord","href":"https://discord.gg/KwGEbFk"},{"anchor":"Blog","icon":"newspaper","href":"https://chartbrew.com/blog"},{"anchor":"GitHub","icon":"github","href":"https://github.com/chartbrew/chartbrew"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"chartbrew","hasAudioNarration":false,"actualSubdomain":"chartbrew","customDomains":["docs.chartbrew.com"],"gitSource":{"type":"github","owner":"chartbrew","repo":"chartbrew-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a8624fbc2199ff39d93f174","collectionId":"313dfd8a-fff2-42ee-b83d-e5f68d6d0589","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a8624fbc2199ff39d93f174"},"entitlements":{},"buildId":"6a8624fbc2199ff39d93f174:success","clientVersion":"0.0.3966","searchFilterCounts":[{"language":"default","tag":"API Reference","count":54},{"language":"default","tag":"Documentation","count":17},{"language":"default","tag":"Charts","count":11},{"language":"default","tag":"Dashboards","count":10},{"language":"default","tag":"Connections","count":8},{"language":"default","tag":"Datasets","count":8},{"language":"default","tag":"Data Requests","count":7},{"language":"default","tag":"Build","count":6},{"language":"default","tag":"Chart-Dataset Configs","count":4},{"language":"default","tag":"Teams","count":4}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/connections/update","slug":"/api-reference/endpoint/connections/update","pageMetadata":{"title":"Update a connection","description":"Update a connection by ID","openapi":"PUT /team/{team_id}/connections/{connection_id}","href":"/api-reference/endpoint/connections/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: \"Update a connection by ID\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update a connection","description":"Update a connection by ID","openapi":"PUT /team/{team_id}/connections/{connection_id}","href":"/api-reference/endpoint/connections/update"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Update a connection by ID","parameters":["2354ea16-c0a3-41c2-afa9-891706daa107","d2616340-d834-42a2-a5de-2d4d13f41f17"],"requestBody":"b2526555-09a2-4e98-afec-7565e1c4760a","responses":{"200":"7c88648e-0033-4652-83e6-0a00a41bb3d9","400":"72ec8b4a-1299-4203-93e2-bf44fb6a4e3a","401":"7c67653a-465f-417f-9ba2-af1ae78dfa99"},"security":["68d4e4ed-63a2-4ce6-bafd-d8734dc5dd9b"],"method":"put","type":"path","servers":["cd6cd87d-273a-41a4-965c-0c860142d061"],"path":"/team/{team_id}/connections/{connection_id}","baseUrlOptions":["https://api.chartbrew.com"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{"2354ea16-c0a3-41c2-afa9-891706daa107":{"name":"team_id","in":"path","description":"ID of the team","required":true,"schema":{"type":"string","isRequired":true,"description":"ID of the team","uniqueKey":"","typeLabel":"string"}},"d2616340-d834-42a2-a5de-2d4d13f41f17":{"name":"connection_id","in":"path","description":"ID of the connection","required":true,"schema":{"type":"string","isRequired":true,"description":"ID of the connection","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"name","typeLabel":"string"},"host":{"type":"string","uniqueKey":"host","typeLabel":"string"},"port":{"type":"string","uniqueKey":"port","typeLabel":"string"},"username":{"type":"string","uniqueKey":"username","typeLabel":"string"},"password":{"type":"string","uniqueKey":"password","typeLabel":"string"},"options":{"type":"object","description":"Used for MongoDB, Postgres, and MySQL connections","uniqueKey":"options","typeLabel":"object"},"type":{"type":"string","enum":["mongodb","api","mysql","postgres"],"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"subType":{"type":"string","description":"Used for connections based on main types","enum":["timescaledb","supabasedb","rdsPostgres","rdsMysql","api","mongodb","api","mysql","postgres","realtimedb","firestore","googleAnalytics","customerio"],"uniqueKey":"subType","typeLabel":"enum\u003cstring>"},"authentication":{"type":"object","description":"Used for API connections","properties":{"type":{"type":"string","enum":["bearer_token","basic_auth"],"uniqueKey":"authentication.type","typeLabel":"enum\u003cstring>"},"token":{"type":"string","uniqueKey":"authentication.token","typeLabel":"string"},"user":{"type":"string","uniqueKey":"authentication.user","typeLabel":"string"},"pass":{"type":"string","uniqueKey":"authentication.pass","typeLabel":"string"}},"uniqueKey":"authentication","typeLabel":"object"},"firebaseServiceAccount":{"type":"object","description":"JSON object containing the Firebase service account credentials","uniqueKey":"firebaseServiceAccount","typeLabel":"object"},"ssl":{"type":"boolean","default":false,"uniqueKey":"ssl","typeLabel":"boolean"},"sslMode":{"type":"string","default":"require","uniqueKey":"sslMode","typeLabel":"string"},"schema":{"type":"object","description":"Used for Postgres and MySQL. This gets populated automatically whenever the connection is used in a chart.","uniqueKey":"schema","typeLabel":"object"},"project_ids":{"type":"array","items":{"type":"string","uniqueKey":"project_ids.items.[INDEX]","typeLabel":"string"},"uniqueKey":"project_ids","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","host":"\u003cstring>","port":"\u003cstring>","username":"\u003cstring>","password":"\u003cstring>","options":{},"authentication":{"token":"\u003cstring>","user":"\u003cstring>","pass":"\u003cstring>"},"firebaseServiceAccount":{},"ssl":false,"sslMode":"require","schema":{},"project_ids":["\u003cstring>"]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"7c88648e-0033-4652-83e6-0a00a41bb3d9":{"description":"Updated connection","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","uniqueKey":"id","typeLabel":"integer"},"team_id":{"type":"integer","uniqueKey":"team_id","typeLabel":"integer"},"project_ids":{"type":"array","items":{"type":"string","uniqueKey":"project_ids.items.[INDEX]","typeLabel":"string"},"uniqueKey":"project_ids","typeLabel":"string[]"},"oauth_id":{"type":"string","format":"uuid","uniqueKey":"oauth_id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","uniqueKey":"name","typeLabel":"string"},"type":{"type":"string","enum":["mongodb","api","mysql","postgres","realtimedb","firestore","googleAnalytics","customerio"],"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"subType":{"type":"string","description":"Used for connections based on main types","enum":["timescaledb","supabasedb","rdsPostgres","rdsMysql","api","mongodb","api","mysql","postgres","realtimedb","firestore","googleAnalytics","customerio"],"uniqueKey":"subType","typeLabel":"enum\u003cstring>"},"active":{"type":"boolean","default":true,"uniqueKey":"active","typeLabel":"boolean"},"host":{"type":"string","uniqueKey":"host","typeLabel":"string"},"dbName":{"type":"string","uniqueKey":"dbName","typeLabel":"string"},"port":{"type":"string","uniqueKey":"port","typeLabel":"string"},"username":{"type":"string","uniqueKey":"username","typeLabel":"string"},"password":{"type":"string","uniqueKey":"password","typeLabel":"string"},"srv":{"type":"boolean","default":false,"uniqueKey":"srv","typeLabel":"boolean"},"options":{"type":"object","uniqueKey":"options","typeLabel":"object"},"connectionString":{"type":"string","description":"Used for MongoDB, Postgres, and MySQL connections","uniqueKey":"connectionString","typeLabel":"string"},"authentication":{"type":"object","description":"Used for API connections","properties":{"type":{"type":"string","enum":["bearer_token","basic_auth"],"uniqueKey":"authentication.type","typeLabel":"enum\u003cstring>"},"token":{"type":"string","uniqueKey":"authentication.token","typeLabel":"string"},"user":{"type":"string","uniqueKey":"authentication.user","typeLabel":"string"},"pass":{"type":"string","uniqueKey":"authentication.pass","typeLabel":"string"}},"uniqueKey":"authentication","typeLabel":"object"},"firebaseServiceAccount":{"type":"object","description":"JSON object containing the Firebase service account credentials","uniqueKey":"firebaseServiceAccount","typeLabel":"object"},"ssl":{"type":"boolean","default":false,"uniqueKey":"ssl","typeLabel":"boolean"},"sslMode":{"type":"string","default":"require","uniqueKey":"sslMode","typeLabel":"string"},"sslCa":{"type":"string","uniqueKey":"sslCa","typeLabel":"string"},"sslCert":{"type":"string","uniqueKey":"sslCert","typeLabel":"string"},"sslKey":{"type":"string","uniqueKey":"sslKey","typeLabel":"string"},"schema":{"type":"object","uniqueKey":"schema","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":123,"team_id":123,"project_ids":["\u003cstring>"],"oauth_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","type":"mongodb","subType":"timescaledb","active":true,"host":"\u003cstring>","dbName":"\u003cstring>","port":"\u003cstring>","username":"\u003cstring>","password":"\u003cstring>","srv":false,"options":{},"connectionString":"\u003cstring>","authentication":{"type":"bearer_token","token":"\u003cstring>","user":"\u003cstring>","pass":"\u003cstring>"},"firebaseServiceAccount":{},"ssl":false,"sslMode":"require","sslCa":"\u003cstring>","sslCert":"\u003cstring>","sslKey":"\u003cstring>","schema":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"72ec8b4a-1299-4203-93e2-bf44fb6a4e3a":{"description":"Error response","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"7c67653a-465f-417f-9ba2-af1ae78dfa99":{"description":"Not authorized","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"68d4e4ed-63a2-4ce6-bafd-d8734dc5dd9b":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[]}}},"servers":{"cd6cd87d-273a-41a4-965c-0c860142d061":{"url":"https://api.chartbrew.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"chartbrew","siteName":"Chartbrew Docs","title":"Chartbrew Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-28T06:27:27.929Z","originalFileLocation":"api-reference/endpoint/connections/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=\"Update a connection by ID\">\u003cmeta data-mint-head name=\"application-name\" content=\"Chartbrew Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/chartbrew/TDgfP0iapcicMV_Z/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/chartbrew/TDgfP0iapcicMV_Z/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/chartbrew/TDgfP0iapcicMV_Z/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/chartbrew/TDgfP0iapcicMV_Z/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/chartbrew/TDgfP0iapcicMV_Z/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/chartbrew/TDgfP0iapcicMV_Z/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/chartbrew/TDgfP0iapcicMV_Z/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/chartbrew/TDgfP0iapcicMV_Z/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/chartbrew/TDgfP0iapcicMV_Z/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Chartbrew Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Chartbrew Documentation - Learn how to automate your reporting with Chartbrew.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Chartbrew Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.chartbrew.com/api-reference/endpoint/connections/update\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cdn2.chartbrew.com/banners/MainOG.png\">\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=\"Chartbrew Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Chartbrew Documentation - Learn how to automate your reporting with Chartbrew.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cdn2.chartbrew.com/banners/MainOG.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/chartbrew/TDgfP0iapcicMV_Z/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Chartbrew Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#048BDE\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.chartbrew.com/api-reference/endpoint/connections/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/connections/update.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.chartbrew.com/#organization\",\"name\":\"Chartbrew Docs\",\"url\":\"https://docs.chartbrew.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/chartbrew/iWQ6NZZBE_sjkVAv/logo/cb_logo_dark.svg?fit=max\u0026auto=format\u0026n=iWQ6NZZBE_sjkVAv\u0026q=85\u0026s=63c4d85b8d2a52c5c44a0d074fc0b0e1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.chartbrew.com#website\",\"name\":\"Chartbrew Docs\",\"url\":\"https://docs.chartbrew.com\",\"publisher\":{\"@id\":\"https://docs.chartbrew.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.chartbrew.com/api-reference/endpoint/connections/update#webpage\",\"url\":\"https://docs.chartbrew.com/api-reference/endpoint/connections/update\",\"name\":\"Update a connection\",\"description\":\"Update a connection by ID\",\"dateModified\":\"2026-01-28T06:27:27.929Z\",\"isPartOf\":{\"@id\":\"https://docs.chartbrew.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.chartbrew.com/api-reference/endpoint/connections/update#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.chartbrew.com/api-reference/endpoint/connections/update#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Connections\",\"item\":\"https://docs.chartbrew.com/api-reference/endpoint/connections/info\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update a connection\",\"item\":\"https://docs.chartbrew.com/api-reference/endpoint/connections/update\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.chartbrew.com/api-reference/endpoint/connections/update#apireference\",\"headline\":\"Update a connection\",\"name\":\"Update a connection\",\"description\":\"Update a connection by ID\",\"url\":\"https://docs.chartbrew.com/api-reference/endpoint/connections/update\",\"mainEntityOfPage\":{\"@id\":\"https://docs.chartbrew.com/api-reference/endpoint/connections/update#webpage\"},\"image\":\"https://cdn2.chartbrew.com/banners/MainOG.png\",\"dateModified\":\"2026-01-28T06:27:27.929Z\",\"publisher\":{\"@id\":\"https://docs.chartbrew.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.chartbrew.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Chartbrew Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Chartbrew Docs","nav":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://chartbrew.com"},{"anchor":"Community","icon":"Discord","href":"https://discord.gg/KwGEbFk"},{"anchor":"Blog","icon":"newspaper","href":"https://chartbrew.com/blog"},{"anchor":"GitHub","icon":"github","href":"https://github.com/chartbrew/chartbrew"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Guides","pages":[{"title":"Create a chart from scratch","href":"/api-reference/guides/create-chart"}]},{"group":"Teams","pages":[{"title":"Get Team","openapi":"GET /team/{team_id}","href":"/api-reference/endpoint/team/get"},{"title":"Create Team","openapi":"POST /team","href":"/api-reference/endpoint/team/create"},{"title":"Get User Teams","openapi":"GET /team","href":"/api-reference/endpoint/team/get-user-teams"},{"title":"Update Team","openapi":"PUT /team/{team_id}","href":"/api-reference/endpoint/team/update"}]},{"group":"Dashboards","pages":[{"title":"What is a Dashboard?","href":"/api-reference/endpoint/dashboards/info"},{"title":"Get a dashboard","openapi":"GET /project/{id}","href":"/api-reference/endpoint/dashboards/get"},{"title":"List all dashboards","openapi":"GET /project/team/{team_id}","href":"/api-reference/endpoint/dashboards/list"},{"title":"Create a dashboard","openapi":"POST /project","href":"/api-reference/endpoint/dashboards/create"},{"title":"Update a Dashboard","openapi":"PUT /project/{id}","href":"/api-reference/endpoint/dashboards/update"},{"title":"Delete a dashboard","openapi":"DELETE /project/{id}","href":"/api-reference/endpoint/dashboards/delete"},{"title":"Create Dashboard Share Policy","openapi":"POST /project/{id}/share/policy","href":"/api-reference/endpoint/dashboards/create-share-policy"},{"title":"Update Dashboard Share Policy","openapi":"PUT /project/{id}/share/policy/{policy_id}","href":"/api-reference/endpoint/dashboards/update-share-policy"},{"title":"Delete Dashboard Share Policy","openapi":"DELETE /project/{id}/share/policy/{policy_id}","href":"/api-reference/endpoint/dashboards/delete-share-policy"},{"title":"Generate Dashboard Share Token","openapi":"POST /project/{id}/share/token","href":"/api-reference/endpoint/dashboards/generate-share-token"}]},{"group":"Connections","pages":[{"title":"What is a Connection?","href":"/api-reference/endpoint/connections/info"},{"title":"List connections","openapi":"GET /team/{team_id}/connections","href":"/api-reference/endpoint/connections/list"},{"title":"Get a connection","openapi":"GET /team/{team_id}/connections/{connection_id}","href":"/api-reference/endpoint/connections/get"},{"title":"Create a connection","description":"Create a new connection inside a team","openapi":"POST /team/{team_id}/connections","href":"/api-reference/endpoint/connections/create"},{"title":"Update a connection","openapi":"PUT /team/{team_id}/connections/{connection_id}","href":"/api-reference/endpoint/connections/update"},{"title":"Delete a connection","description":"Delete a connection by ID","openapi":"DELETE /team/{team_id}/connections/{connection_id}","href":"/api-reference/endpoint/connections/delete"},{"title":"Update connection files","openapi":"POST /team/{team_id}/connections/{connection_id}/files","href":"/api-reference/endpoint/connections/update-files"},{"title":"Test a connection","openapi":"GET /team/{team_id}/connections/{connection_id}/test","href":"/api-reference/endpoint/connections/test"}]},{"group":"Datasets","pages":[{"title":"What is a Dataset?","href":"/api-reference/endpoint/datasets/info"},{"title":"List datasets","openapi":"GET /team/{team_id}/datasets","href":"/api-reference/endpoint/datasets/list"},{"title":"Get a dataset","openapi":"GET /team/{team_id}/datasets/{dataset_id}","href":"/api-reference/endpoint/datasets/get"},{"title":"Quick Create","openapi":"POST /team/{team_id}/datasets/quick-create","href":"/api-reference/endpoint/datasets/quick-create"},{"title":"Create a dataset","openapi":"POST /team/{team_id}/datasets","href":"/api-reference/endpoint/datasets/create"},{"title":"Update a dataset","openapi":"PUT /team/{team_id}/datasets/{dataset_id}","href":"/api-reference/endpoint/datasets/update"},{"title":"Delete a dataset","openapi":"DELETE /team/{team_id}/datasets/{dataset_id}","href":"/api-reference/endpoint/datasets/delete"},{"title":"Fetch dataset data","openapi":"GET /team/{team_id}/datasets/{dataset_id}/request","href":"/api-reference/endpoint/datasets/fetch-dataset-data"}]},{"group":"Data Requests","pages":[{"title":"What is a Data Request?","href":"/api-reference/endpoint/datarequests/info"},{"title":"Create a Data Request","openapi":"POST /team/{team_id}/datasets/{dataset_id}/dataRequests","href":"/api-reference/endpoint/datarequests/create"},{"title":"Get Dataset Data Requests","openapi":"GET /team/{team_id}/datasets/{dataset_id}/dataRequests","href":"/api-reference/endpoint/datarequests/list"},{"title":"Update a Data Request","openapi":"PUT /team/{team_id}/datasets/{dataset_id}/dataRequests/{id}","href":"/api-reference/endpoint/datarequests/update"},{"title":"Run a Data Request","openapi":"POST /team/{team_id}/datasets/{dataset_id}/dataRequests/{id}/request","href":"/api-reference/endpoint/datarequests/run"},{"title":"Create a Variable Binding","openapi":"POST /team/{team_id}/datasets/{dataset_id}/dataRequests/{id}/variableBindings","href":"/api-reference/endpoint/datarequests/create-variablebinding"},{"title":"Update a Variable Binding","openapi":"PUT /team/{team_id}/datasets/{dataset_id}/dataRequests/{id}/variableBindings/{variable_id}","href":"/api-reference/endpoint/datarequests/update-variablebinding"}]},{"group":"Charts","pages":[{"title":"What is a Chart?","href":"/api-reference/endpoint/charts/info"},{"title":"Get a chart","openapi":"GET /project/{project_id}/chart/{id}","href":"/api-reference/endpoint/charts/get"},{"title":"Quick Create Chart","openapi":"POST /project/{project_id}/chart/quick-create","href":"/api-reference/endpoint/charts/quick-create"},{"title":"Create a chart","openapi":"POST /project/{project_id}/chart","href":"/api-reference/endpoint/charts/create"},{"title":"Query a chart","openapi":"POST /project/{project_id}/chart/{id}/query","href":"/api-reference/endpoint/charts/query"},{"title":"Delete a chart","openapi":"DELETE /project/{project_id}/chart/{id}","href":"/api-reference/endpoint/charts/delete"},{"title":"Get Chart for Sharing","openapi":"GET /chart/share/{share_string}","href":"/api-reference/endpoint/charts/share-chart"},{"title":"Create Chart Share Policy","openapi":"POST /project/{project_id}/chart/{id}/share/policy","href":"/api-reference/endpoint/charts/create-share-policy"},{"title":"Update Chart Share Policy","openapi":"PUT /project/{project_id}/chart/{chart_id}/share/policy/{policy_id}","href":"/api-reference/endpoint/charts/update-chart-share-policy"},{"title":"Delete Chart Share Policy","openapi":"DELETE /project/{project_id}/chart/{chart_id}/share/policy/{policy_id}","href":"/api-reference/endpoint/charts/delete-chart-share-policy"},{"title":"Generate Chart Share Token","openapi":"POST /project/{project_id}/chart/{id}/share/token","href":"/api-reference/endpoint/charts/generate-share-token"}]},{"group":"Chart-Dataset Configs","pages":[{"title":"What is a Chart-Dataset Config?","href":"/api-reference/endpoint/chartdatasetconfigs/info"},{"title":"Create a chart config","openapi":"POST /project/{project_id}/chart/{id}/chart-dataset-config","href":"/api-reference/endpoint/chartdatasetconfigs/create"},{"title":"Update a chart config","openapi":"PUT /project/{project_id}/chart/{id}/chart-dataset-config/{cdc_id}","href":"/api-reference/endpoint/chartdatasetconfigs/update"},{"title":"Delete a chart config","openapi":"DELETE /project/{project_id}/chart/{id}/chart-dataset-config/{cdc_id}","href":"/api-reference/endpoint/chartdatasetconfigs/delete"}]}]}]},"title":"Chartbrew Docs","buildId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","deploymentId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DKJwRUt2.js","utils-CWD_VS3u.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-oFjciODD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C76WsxC3.js","snippetPresets-DvPMxpX_.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CuNQfndH.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BVFpVUoF.js","shallow-t59Jg5Kr.js","getApiPlaygroundDisplay-C_JZ4amX.js","CodeSnippet-CLRDnx_h.js","CodeSnippets-C2myU4kc.js","Page-7TwLLapg.js","getPastedJson-B-JaVXw7.js","icon-BA-iDhH3.js","MethodPill-D4qZABFp.js","DuplicateIcon-THIDKO1O.js","createIcon-CYYJwgFd.js","DynamicMarkdown-UGQuxDKp.js","SectionHeading-jYELb23h.js","axios-vUo_bRtp.js","Markdown-DKsLa3wy.js","clsx-CefdjKz2.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BaREnp3o.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-sgx_0XzF.js"]}