Updates the configuration of an existing database connection, including credentials,
settings, and connection parameters.
Update semantics: submit the complete connection. Every field is replaced
with what you send — to clear an optional parameter (e.g. proxy), omit it.
The sole exception is write-only secrets (passwords, tokens, SSH private
keys): these are never returned by reads, so leaving a secret field blank
keeps its stored value rather than clearing it.
Authorization: Requires environment admin permissions.
Security: Credentials are encrypted and stored securely.
Validation: Tests connection before saving changes.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
organizationName
string
required
The unique identifier of the organization
Standard identifier pattern for resource names
Pattern: ^[a-zA-Z0-9_ -]+$
environmentName
string
required
The unique identifier of the environment
Standard identifier pattern for resource names
Pattern: ^[a-zA-Z0-9_ -]+$
connectionName
string
required
The unique identifier of the connection
Standard identifier pattern for resource names
Pattern: ^[a-zA-Z0-9_ -]+$
Body
application/json
Database connection configuration and metadata
resource
string
Resource path to the connection
name
string
Name of the connection
type
enum<string>
Type of database connection
Available options:
postgres,
bigquery,
snowflake,
trino,
databricks,
mysql,
duckdb,
motherduck,
ducklake,
publisher
fingerprint
string
Optional, opaque, stable fingerprint of this connection's data identity. It is a hash of the configuration that determines which data the connection reaches (its data-locating settings), and deliberately excludes credentials and other secret values, so it stays constant across credential rotation and changes only when the connection is pointed at different data. When present, it is used as this connection's contribution to content-addressed build identifiers so that builds re-address only when the underlying data identity actually changes; consumers should treat it as an opaque token and use the supplied value verbatim rather than deriving their own. This field is optional — when omitted, a connection identity is derived locally instead.
attributes
object
Connection capabilities and configuration attributes
Show child attributes
proxy
object
Optional network proxy through which the connection is reached. Applies to any connection type whose database is not directly reachable (e.g. behind a bastion). The proxy is established below the driver, so the driver connects to a local endpoint transparently. Modeled as a discriminated union on type so additional proxy mechanisms can be added later.
Show child attributes
postgresConnection
object
PostgreSQL database connection configuration
Show child attributes
bigqueryConnection
object
Google BigQuery database connection configuration
Show child attributes
snowflakeConnection
object
Snowflake database connection configuration
Show child attributes
trinoConnection
object
Trino database connection configuration
Show child attributes
databricksConnection
object
Databricks SQL warehouse connection configuration
Show child attributes
mysqlConnection
object
MySQL database connection configuration
Show child attributes
duckdbConnection
object
DuckDB database connection configuration. Publisher intentionally exposes only data-source intent here. Database files, working directories, filesystem/network policy, extension loading, setup SQL, temp directories, and resource knobs are owned by Publisher so environment configs cannot widen deployment policy through low-level DuckDB settings.
Show child attributes
motherduckConnection
object
MotherDuck database connection configuration
Show child attributes
ducklakeConnection
object
DuckLake lakehouse connection configuration
Show child attributes
publisherConnection
object
Malloy Publisher proxy connection. Proxies SQL to a remote Publisher dataplane instead of connecting to a warehouse directly. The remote dataplane owns authentication, access control, and read-only enforcement.
Show child attributes
template
enum<string>
write-only
Create this connection from a managed sample template instead of supplying credentials. The server fills the connection type, configuration, and credentials from the named template (currently only bq_demo, our sample BigQuery dataset); any credential or table fields in the request are ignored and the connection name defaults to the template name when omitted. Create-only: never stored or returned.
Available options:
bq_demo
includeTables
string[] | null
The list of tables to include, in the format {dataset/schema}.{table}. The first part represents the dataset or schema, and the second part is the table name. The second part can be a literal * to include all tables.
Table name pattern matching {schema}.{table}, {schema}., {catalog}.{schema}.{table}, or {catalog}.{schema}.
The list of tables to exclude, in the format {dataset/schema}.{table}. The first part represents the dataset or schema, and the second part is the table name. The second part can be a literal * to exclude all tables.
Table name pattern matching {schema}.{table}, {schema}., {catalog}.{schema}.{table}, or {catalog}.{schema}.
Current indexing status of the connection. UNKNOWN means indexing is queued and starts automatically on creation (no manual action; "Start indexing" is an optional re-trigger). SCHEMA_INDEXING means schema indexing is in progress, MODEL_SUGGESTION_INDEXING means schema indexing finished (schema search is usable) and the model-suggestions pipeline is generating dimensions/measures/joins, INDEXED means both pipelines finished, SKIPPED means the connection is excluded from indexing, FAILED means schema indexing failed, RETRY means the connection was updated while indexing was in progress and will be re-indexed when the current job finishes.
Available options:
UNKNOWN,
SCHEMA_INDEXING,
INDEXED,
SKIPPED,
FAILED,
RETRY,
MODEL_SUGGESTION_INDEXING
indexingStatusLastUpdated
string<date-time> | null
ISO 8601 timestamp of when the indexing status was last updated
indexingProgress
object | null
Aggregate per-pipeline indexing progress for a connection, polled from the entity-indexing service while the connection is being indexed. Populated on the single-connection read while indexing is in progress (SCHEMA_INDEXING / MODEL_SUGGESTION_INDEXING); null once INDEXED or when progress is unavailable.
Show child attributes
Response
Connection updated successfully
Database connection configuration and metadata
resource
string
Resource path to the connection
name
string
Name of the connection
type
enum<string>
Type of database connection
Available options:
postgres,
bigquery,
snowflake,
trino,
databricks,
mysql,
duckdb,
motherduck,
ducklake,
publisher
fingerprint
string
Optional, opaque, stable fingerprint of this connection's data identity. It is a hash of the configuration that determines which data the connection reaches (its data-locating settings), and deliberately excludes credentials and other secret values, so it stays constant across credential rotation and changes only when the connection is pointed at different data. When present, it is used as this connection's contribution to content-addressed build identifiers so that builds re-address only when the underlying data identity actually changes; consumers should treat it as an opaque token and use the supplied value verbatim rather than deriving their own. This field is optional — when omitted, a connection identity is derived locally instead.
attributes
object
Connection capabilities and configuration attributes
Show child attributes
proxy
object
Optional network proxy through which the connection is reached. Applies to any connection type whose database is not directly reachable (e.g. behind a bastion). The proxy is established below the driver, so the driver connects to a local endpoint transparently. Modeled as a discriminated union on type so additional proxy mechanisms can be added later.
Show child attributes
postgresConnection
object
PostgreSQL database connection configuration
Show child attributes
bigqueryConnection
object
Google BigQuery database connection configuration
Show child attributes
snowflakeConnection
object
Snowflake database connection configuration
Show child attributes
trinoConnection
object
Trino database connection configuration
Show child attributes
databricksConnection
object
Databricks SQL warehouse connection configuration
Show child attributes
mysqlConnection
object
MySQL database connection configuration
Show child attributes
duckdbConnection
object
DuckDB database connection configuration. Publisher intentionally exposes only data-source intent here. Database files, working directories, filesystem/network policy, extension loading, setup SQL, temp directories, and resource knobs are owned by Publisher so environment configs cannot widen deployment policy through low-level DuckDB settings.
Show child attributes
motherduckConnection
object
MotherDuck database connection configuration
Show child attributes
ducklakeConnection
object
DuckLake lakehouse connection configuration
Show child attributes
publisherConnection
object
Malloy Publisher proxy connection. Proxies SQL to a remote Publisher dataplane instead of connecting to a warehouse directly. The remote dataplane owns authentication, access control, and read-only enforcement.
Show child attributes
includeTables
string[] | null
The list of tables to include, in the format {dataset/schema}.{table}. The first part represents the dataset or schema, and the second part is the table name. The second part can be a literal * to include all tables.
Table name pattern matching {schema}.{table}, {schema}., {catalog}.{schema}.{table}, or {catalog}.{schema}.
The list of tables to exclude, in the format {dataset/schema}.{table}. The first part represents the dataset or schema, and the second part is the table name. The second part can be a literal * to exclude all tables.
Table name pattern matching {schema}.{table}, {schema}., {catalog}.{schema}.{table}, or {catalog}.{schema}.
Current indexing status of the connection. UNKNOWN means indexing is queued and starts automatically on creation (no manual action; "Start indexing" is an optional re-trigger). SCHEMA_INDEXING means schema indexing is in progress, MODEL_SUGGESTION_INDEXING means schema indexing finished (schema search is usable) and the model-suggestions pipeline is generating dimensions/measures/joins, INDEXED means both pipelines finished, SKIPPED means the connection is excluded from indexing, FAILED means schema indexing failed, RETRY means the connection was updated while indexing was in progress and will be re-indexed when the current job finishes.
Available options:
UNKNOWN,
SCHEMA_INDEXING,
INDEXED,
SKIPPED,
FAILED,
RETRY,
MODEL_SUGGESTION_INDEXING
indexingStatusLastUpdated
string<date-time> | null
ISO 8601 timestamp of when the indexing status was last updated
indexingProgress
object | null
Aggregate per-pipeline indexing progress for a connection, polled from the entity-indexing service while the connection is being indexed. Populated on the single-connection read while indexing is in progress (SCHEMA_INDEXING / MODEL_SUGGESTION_INDEXING); null once INDEXED or when progress is unavailable.
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Credible Data","colors":{"primary":"#94793A","light":"#C59611","dark":"#0C0A09"},"logo":{"light":"https://mintcdn.com/ms2/1t8kfeYj1pwIH2EO/logo/light.svg?fit=max\u0026auto=format\u0026n=1t8kfeYj1pwIH2EO\u0026q=85\u0026s=9c2da46c5a0f1db44806cebf2c34c165","dark":"https://mintcdn.com/ms2/1t8kfeYj1pwIH2EO/logo/dark.svg?fit=max\u0026auto=format\u0026n=1t8kfeYj1pwIH2EO\u0026q=85\u0026s=e529d32e9f5b835d242740ccedbee807","href":"https://credibledata.com"},"favicon":"https://mintcdn.com/ms2/dRbGGzFxug_gROFL/favicon.png?fit=max\u0026auto=format\u0026n=dRbGGzFxug_gROFL\u0026q=85\u0026s=c35f0253242cf69de7e4eacfdb7c424c","api":{"playground":{"display":"interactive"},"mdx":{"auth":{"method":"bearer","name":"Authorization"},"server":["https://{your-org}.app.credibledata.com/api/v0","https://{your-org}.data.credibledata.com/api/v0"]}},"background":{"color":{"light":"#F5F5F4","dark":"#1c1917"}},"navbar":{"links":[{"href":"mailto:support@credibledata.com","label":"Support"}]},"footer":{"socials":{"twitter":"https://twitter.com/credibledatahq","linkedin":"https://www.linkedin.com/company/credibledata"}},"seo":{"metatags":{"canonical":"https://docs.credibledata.com"}},"fonts":{"heading":{"family":"Fustat","weight":700,"source":"fonts/Fustat-Variable.woff2","format":"woff2"},"body":{"family":"Diatype","weight":400,"source":"fonts/ABCDiatype-Regular.woff2","format":"woff2"}},"styling":{"codeblocks":{"languages":{"custom":["/languages/motly.tmGrammar.json","/languages/malloy.tmGrammar.json"]}},"latex":false},"integrations":{"ga4":{"measurementId":"G-1VJRS53EWN"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ms2","hasAudioNarration":false,"actualSubdomain":"ms2","customDomains":["docs.credibledata.com"],"gitSource":{"type":"github","owner":"ms2data","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ae92bd9fa8913e56b7a3613:success","clientVersion":"0.0.4342","searchFilterCounts":[{"language":"default","tag":"Admin API","count":107},{"language":"default","tag":"Data API","count":48},{"language":"default","tag":"Documentation","count":45},{"language":"default","tag":"connections","count":22},{"language":"default","tag":"groups","count":12},{"language":"default","tag":"packages","count":12},{"language":"default","tag":"Migrations","count":10},{"language":"default","tag":"environments","count":10},{"language":"default","tag":"Developers","count":8},{"language":"default","tag":"materializations","count":7}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","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":"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":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@font-face{font-family:\"Diatype Mono\";src:url(\"/fonts/ABCDiatypeMono-Regular.woff2\") format(\"woff2\");font-weight:400;font-style:normal;font-display:swap}.prose p a:not(.card),.prose li a:not(.card),.prose td a:not(.card){color:#94793a;text-decoration:underline;text-underline-offset:3px}.prose p a:not(.card):hover,.prose li a:not(.card):hover,.prose td a:not(.card):hover{color:#1c1917}.dark .prose p a:not(.card),.dark .prose li a:not(.card),.dark .prose td a:not(.card){color:#c59611}.dark .prose p a:not(.card):hover,.dark .prose li a:not(.card):hover,.dark .prose td a:not(.card):hover{color:#fafaf9}.callout[data-callout-type=\"note\"],.callout[data-callout-type=\"info\"],.callout[data-callout-type=\"tip\"]{background-color:#f5f5f4;background-image:linear-gradient(to top, rgb(184 144 46 / 0.1), transparent);border-color:#e7e5e4}.callout[data-callout-type=\"note\"] [data-component-part=\"callout-icon\"] svg,.callout[data-callout-type=\"info\"] [data-component-part=\"callout-icon\"] svg,.callout[data-callout-type=\"tip\"] [data-component-part=\"callout-icon\"] svg{color:#94793a}.callout[data-callout-type=\"note\"] [data-component-part=\"callout-content\"],.callout[data-callout-type=\"info\"] [data-component-part=\"callout-content\"],.callout[data-callout-type=\"tip\"] [data-component-part=\"callout-content\"]{color:#44403c}.dark .callout[data-callout-type=\"note\"],.dark .callout[data-callout-type=\"info\"],.dark .callout[data-callout-type=\"tip\"]{background-color:#1c1917;background-image:linear-gradient(to top, rgb(184 144 46 / 0.12), transparent);border-color:#292524}.dark .callout[data-callout-type=\"note\"] [data-component-part=\"callout-icon\"] svg,.dark .callout[data-callout-type=\"info\"] [data-component-part=\"callout-icon\"] svg,.dark .callout[data-callout-type=\"tip\"] [data-component-part=\"callout-icon\"] svg{color:#c59611}.dark .callout[data-callout-type=\"note\"] [data-component-part=\"callout-content\"],.dark .callout[data-callout-type=\"info\"] [data-component-part=\"callout-content\"],.dark .callout[data-callout-type=\"tip\"] [data-component-part=\"callout-content\"]{color:#d6d3d1}.callout[data-callout-type=\"warning\"],.dark .callout[data-callout-type=\"warning\"],.callout[data-callout-type=\"danger\"],.dark .callout[data-callout-type=\"danger\"]{background-color:oklch(0.1469 0.00413 49.25);background-image:none;border-color:rgb(255 255 255 / 0.1)}.callout[data-callout-type=\"warning\"] [data-component-part=\"callout-icon\"] svg,.dark .callout[data-callout-type=\"warning\"] [data-component-part=\"callout-icon\"] svg,.callout[data-callout-type=\"danger\"] [data-component-part=\"callout-icon\"] svg,.dark .callout[data-callout-type=\"danger\"] [data-component-part=\"callout-icon\"] svg{color:oklch(0.7 0.14 85.525)}.callout[data-callout-type=\"warning\"] [data-component-part=\"callout-content\"],.dark .callout[data-callout-type=\"warning\"] [data-component-part=\"callout-content\"],.callout[data-callout-type=\"danger\"] [data-component-part=\"callout-content\"],.dark .callout[data-callout-type=\"danger\"] [data-component-part=\"callout-content\"]{color:#d6d3d1}.callout[data-callout-type=\"warning\"] [data-component-part=\"callout-content\"] strong,.callout[data-callout-type=\"danger\"] [data-component-part=\"callout-content\"] strong{color:#fafaf9!important}.callout[data-callout-type=\"warning\"] [data-component-part=\"callout-content\"] code,.callout[data-callout-type=\"danger\"] [data-component-part=\"callout-content\"] code{background-color:rgb(255 255 255 / 0.1);border-color:rgb(255 255 255 / 0.15)}.sidebar-group-header{font-family:\"Diatype Mono\", \"SF Mono\", \"Fira Code\", monospace;font-size:0.7rem;font-weight:400;color:#94793a;text-transform:uppercase;letter-spacing:0.08em}.dark .sidebar-group-header{color:#c59611}"}]}
{"page":{"pagePath":"admin-api-reference/connections/update-database-connection","slug":"/admin-api-reference/connections/update-database-connection","pageMetadata":{"title":"Update database connection","description":"Updates the configuration of an existing database connection, including credentials,\nsettings, and connection parameters.\n\n**Update semantics**: submit the complete connection. Every field is replaced\nwith what you send — to clear an optional parameter (e.g. `proxy`), omit it.\nThe sole exception is write-only secrets (passwords, tokens, SSH private\nkeys): these are never returned by reads, so leaving a secret field blank\nkeeps its stored value rather than clearing it.\n\n**Authorization**: Requires environment admin permissions.\n**Security**: Credentials are encrypted and stored securely.\n**Validation**: Tests connection before saving changes.\n","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml patch /organizations/{organizationName}/environments/{environmentName}/connections/{connectionName}","href":"/admin-api-reference/connections/update-database-connection","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Updates the configuration of an existing database connection, including credentials,\\nsettings, and connection parameters.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Update semantics\"\n }), \": submit the complete connection. Every field is replaced\\nwith what you send — to clear an optional parameter (e.g. \", _jsx(_components.code, {\n children: \"proxy\"\n }), \"), omit it.\\nThe sole exception is write-only secrets (passwords, tokens, SSH private\\nkeys): these are never returned by reads, so leaving a secret field blank\\nkeeps its stored value rather than clearing it.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Authorization\"\n }), \": Requires environment admin permissions.\\n\", _jsx(_components.strong, {\n children: \"Security\"\n }), \": Credentials are encrypted and stored securely.\\n\", _jsx(_components.strong, {\n children: \"Validation\"\n }), \": Tests connection before saving changes.\"]\n })]\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":{"codeStyling":{"languages":{"custom":["/languages/motly.tmGrammar.json","/languages/malloy.tmGrammar.json"]}},"config":{},"pageMetadata":{"title":"Update database connection","description":"Updates the configuration of an existing database connection, including credentials,\nsettings, and connection parameters.\n\n**Update semantics**: submit the complete connection. Every field is replaced\nwith what you send — to clear an optional parameter (e.g. `proxy`), omit it.\nThe sole exception is write-only secrets (passwords, tokens, SSH private\nkeys): these are never returned by reads, so leaving a secret field blank\nkeeps its stored value rather than clearing it.\n\n**Authorization**: Requires environment admin permissions.\n**Security**: Credentials are encrypted and stored securely.\n**Validation**: Tests connection before saving changes.\n","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml patch /organizations/{organizationName}/environments/{environmentName}/connections/{connectionName}","href":"/admin-api-reference/connections/update-database-connection","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["connections"],"summary":"Update database connection","description":"Updates the configuration of an existing database connection, including credentials,\nsettings, and connection parameters.\n\n**Update semantics**: submit the complete connection. Every field is replaced\nwith what you send — to clear an optional parameter (e.g. `proxy`), omit it.\nThe sole exception is write-only secrets (passwords, tokens, SSH private\nkeys): these are never returned by reads, so leaving a secret field blank\nkeeps its stored value rather than clearing it.\n\n**Authorization**: Requires environment admin permissions.\n**Security**: Credentials are encrypted and stored securely.\n**Validation**: Tests connection before saving changes.\n","operationId":"updateConnection","parameters":["785b07e9-a2d8-4621-b46a-d35b9f04c565","55c26e36-a930-43bc-b205-716dda47e8e7","1f463401-b0ba-482b-819a-467568b2437d"],"requestBody":"7a969e86-bf33-4b1d-9d30-024dec60bf48","responses":{"200":"5f343744-b3ca-460a-b3f8-4585c63a8428","400":"9c005a4e-2139-460a-bef4-5ef8e233a38c","401":"f6f3206d-3188-41fa-9235-4c1a2a38bc0d","403":"1370946f-0a8a-4c6f-a202-fc89cf3d2d7e","404":"625c61d7-0020-470f-98da-d3abcb749f8e"},"method":"patch","type":"path","servers":["2b8a1621-5516-4e59-845f-abd2159b4190"],"security":["bc5d6729-cb95-40f3-897f-1d2d6b543758"],"path":"/organizations/{organizationName}/environments/{environmentName}/connections/{connectionName}","baseUrlOptions":["https://{organization}.admin.credibledata.com/api/v0/"],"title":"Update database connection","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"785b07e9-a2d8-4621-b46a-d35b9f04c565":{"name":"organizationName","in":"path","required":true,"description":"The unique identifier of the organization","schema":{"type":"string","pattern":"^[a-zA-Z0-9_ -]+$","description":"The unique identifier of the organization\nStandard identifier pattern for resource names","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"55c26e36-a930-43bc-b205-716dda47e8e7":{"name":"environmentName","in":"path","required":true,"description":"The unique identifier of the environment","schema":{"type":"string","pattern":"^[a-zA-Z0-9_ -]+$","description":"The unique identifier of the environment\nStandard identifier pattern for resource names","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"1f463401-b0ba-482b-819a-467568b2437d":{"name":"connectionName","in":"path","required":true,"description":"The unique identifier of the connection","schema":{"type":"string","pattern":"^[a-zA-Z0-9_ -]+$","description":"The unique identifier of the connection\nStandard identifier pattern for resource names","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Database connection configuration and metadata","x-class-name":"Connection","properties":{"resource":{"type":"string","description":"Resource path to the connection","uniqueKey":"resource","typeLabel":"string"},"name":{"type":"string","description":"Name of the connection","uniqueKey":"name","typeLabel":"string"},"type":{"type":"string","description":"Type of database connection","enum":["postgres","bigquery","snowflake","trino","databricks","mysql","duckdb","motherduck","ducklake","publisher"],"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"fingerprint":{"type":"string","description":"Optional, opaque, stable fingerprint of this connection's data identity. It is a hash of the configuration that determines *which data* the connection reaches (its data-locating settings), and deliberately excludes credentials and other secret values, so it stays constant across credential rotation and changes only when the connection is pointed at different data. When present, it is used as this connection's contribution to content-addressed build identifiers so that builds re-address only when the underlying data identity actually changes; consumers should treat it as an opaque token and use the supplied value verbatim rather than deriving their own. This field is optional — when omitted, a connection identity is derived locally instead.\n","uniqueKey":"fingerprint","typeLabel":"string"},"attributes":{"type":"object","description":"Connection capabilities and configuration attributes","properties":{"dialectName":{"type":"string","description":"SQL dialect name for the connection","uniqueKey":"attributes.dialectName","typeLabel":"string"},"isPool":{"type":"boolean","description":"Whether the connection uses connection pooling","uniqueKey":"attributes.isPool","typeLabel":"boolean"},"canPersist":{"type":"boolean","description":"Whether the connection supports persistent storage operations","uniqueKey":"attributes.canPersist","typeLabel":"boolean"},"canStream":{"type":"boolean","description":"Whether the connection supports streaming query results","uniqueKey":"attributes.canStream","typeLabel":"boolean"}},"uniqueKey":"attributes","typeLabel":"object"},"proxy":{"type":"object","description":"Optional network proxy through which the connection is reached. Applies to any connection type whose database is not directly reachable (e.g. behind a bastion). The proxy is established below the driver, so the driver connects to a local endpoint transparently. Modeled as a discriminated union on `type` so additional proxy mechanisms can be added later.","properties":{"type":{"type":"string","description":"Proxy mechanism. Currently only SSH local port-forwarding.","enum":["ssh"],"uniqueKey":"proxy.type","typeLabel":"enum\u003cstring>"},"ssh":{"type":"object","description":"SSH bastion / jump-host config for reaching a database inside a private network via an SSH local port-forward. Authentication is public-key only.","properties":{"host":{"type":"string","description":"Bastion hostname or IP address (the SSH jump host)","uniqueKey":"proxy.ssh.host","typeLabel":"string"},"port":{"type":"integer","default":22,"description":"Bastion SSH port (defaults to 22)","uniqueKey":"proxy.ssh.port","typeLabel":"integer"},"username":{"type":"string","description":"SSH username on the bastion","uniqueKey":"proxy.ssh.username","typeLabel":"string"},"privateKey":{"type":"string","description":"PEM-encoded SSH private key used to authenticate to the bastion. Write-only secret (never returned by reads). When updating an existing proxy, leave this blank to keep the stored key. The customer authorizes the matching public key in the bastion's authorized_keys.","uniqueKey":"proxy.ssh.privateKey","typeLabel":"string"},"privateKeyPass":{"type":"string","description":"Passphrase for the encrypted private key, if any. Write-only secret (never returned by reads). When updating, leave blank to keep the stored passphrase (kept only when the private key is also kept, not on rotation).","uniqueKey":"proxy.ssh.privateKeyPass","typeLabel":"string"},"hostKey":{"type":"string","description":"Optional pinned bastion host public key(s), as one or more OpenSSH\nknown_hosts lines (or bare base64 blobs), verified on every connect.\nList multiple lines to pin a load-balanced/HA bastion that presents a\ndifferent key per backend — any listed key is accepted; a mismatch\nfails the connection closed. Plain and hashed (`|1|…`) lines both work\n— only the key blob is compared, never the hostname. When omitted, the\ntunnel connects without host-key verification (the self-service\ndefault); the SSH transport is still encrypted.\n","uniqueKey":"proxy.ssh.hostKey","typeLabel":"string"}},"uniqueKey":"proxy.ssh","typeLabel":"object"}},"uniqueKey":"proxy","typeLabel":"object"},"postgresConnection":{"type":"object","description":"PostgreSQL database connection configuration","properties":{"host":{"type":"string","description":"PostgreSQL server hostname or IP address","uniqueKey":"postgresConnection.host","typeLabel":"string"},"port":{"type":"integer","description":"PostgreSQL server port number","uniqueKey":"postgresConnection.port","typeLabel":"integer"},"databaseName":{"type":"string","description":"Name of the PostgreSQL database","uniqueKey":"postgresConnection.databaseName","typeLabel":"string"},"userName":{"type":"string","description":"PostgreSQL username for authentication","uniqueKey":"postgresConnection.userName","typeLabel":"string"},"password":{"type":"string","description":"PostgreSQL password for authentication","uniqueKey":"postgresConnection.password","typeLabel":"string"},"connectionString":{"type":"string","description":"Complete PostgreSQL connection string (alternative to individual parameters)","uniqueKey":"postgresConnection.connectionString","typeLabel":"string"},"sslmode":{"type":"string","enum":["disable","no-verify","verify-ca"],"description":"TLS mode for a connection reached through a `proxy` (SSH bastion). Because the driver connects to a local tunnel endpoint, the cert hostname can't be checked; `verify-ca` validates the server cert chain against the trusted CA bundle (e.g. the baked Amazon RDS roots) without the hostname, `no-verify` encrypts without verifying, and `disable` uses no TLS. The server defaults it to `no-verify` when a proxy is set (so a force-SSL target isn't rejected for plaintext) — a server-applied default, not a schema default. Only valid on a proxied connection — a direct connection uses the deployment PGSSLMODE and rejects this field.","uniqueKey":"postgresConnection.sslmode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"postgresConnection","typeLabel":"object"},"bigqueryConnection":{"type":"object","description":"Google BigQuery database connection configuration","properties":{"defaultProjectId":{"type":"string","description":"Default BigQuery project ID for queries","uniqueKey":"bigqueryConnection.defaultProjectId","typeLabel":"string"},"billingProjectId":{"type":"string","description":"BigQuery project ID for billing purposes","uniqueKey":"bigqueryConnection.billingProjectId","typeLabel":"string"},"location":{"type":"string","description":"BigQuery dataset location/region","uniqueKey":"bigqueryConnection.location","typeLabel":"string"},"serviceAccountKeyJson":{"type":"string","description":"JSON string containing Google Cloud service account credentials","uniqueKey":"bigqueryConnection.serviceAccountKeyJson","typeLabel":"string"},"maximumBytesBilled":{"type":"string","description":"Maximum bytes to bill for query execution (prevents runaway costs)","uniqueKey":"bigqueryConnection.maximumBytesBilled","typeLabel":"string"},"queryTimeoutMilliseconds":{"type":"string","description":"Query timeout in milliseconds","uniqueKey":"bigqueryConnection.queryTimeoutMilliseconds","typeLabel":"string"}},"uniqueKey":"bigqueryConnection","typeLabel":"object"},"snowflakeConnection":{"type":"object","description":"Snowflake database connection configuration","properties":{"account":{"type":"string","description":"Snowflake account identifier","uniqueKey":"snowflakeConnection.account","typeLabel":"string"},"username":{"type":"string","description":"Snowflake username for authentication","uniqueKey":"snowflakeConnection.username","typeLabel":"string"},"password":{"type":"string","description":"Snowflake password for authentication","uniqueKey":"snowflakeConnection.password","typeLabel":"string"},"privateKey":{"type":"string","description":"Snowflake private key for authentication","uniqueKey":"snowflakeConnection.privateKey","typeLabel":"string"},"privateKeyPass":{"type":"string","description":"Passphrase for the Snowflake private key","uniqueKey":"snowflakeConnection.privateKeyPass","typeLabel":"string"},"warehouse":{"type":"string","description":"Snowflake warehouse name","uniqueKey":"snowflakeConnection.warehouse","typeLabel":"string"},"database":{"type":"string","description":"Snowflake database name","uniqueKey":"snowflakeConnection.database","typeLabel":"string"},"schema":{"type":"string","description":"Snowflake schema name","uniqueKey":"snowflakeConnection.schema","typeLabel":"string"},"role":{"type":"string","description":"Snowflake role name","uniqueKey":"snowflakeConnection.role","typeLabel":"string"},"responseTimeoutMilliseconds":{"type":"integer","description":"Query response timeout in milliseconds","uniqueKey":"snowflakeConnection.responseTimeoutMilliseconds","typeLabel":"integer"}},"uniqueKey":"snowflakeConnection","typeLabel":"object"},"trinoConnection":{"type":"object","description":"Trino database connection configuration","properties":{"server":{"type":"string","description":"Trino server hostname or IP address","uniqueKey":"trinoConnection.server","typeLabel":"string"},"port":{"type":"number","description":"Trino server port number","uniqueKey":"trinoConnection.port","typeLabel":"number"},"catalog":{"type":"string","description":"Trino catalog name","uniqueKey":"trinoConnection.catalog","typeLabel":"string"},"schema":{"type":"string","description":"Trino schema name","uniqueKey":"trinoConnection.schema","typeLabel":"string"},"user":{"type":"string","description":"Trino username for authentication","uniqueKey":"trinoConnection.user","typeLabel":"string"},"password":{"type":"string","description":"Trino password for authentication","uniqueKey":"trinoConnection.password","typeLabel":"string"},"peakaKey":{"type":"string","description":"Peaka API key for authentication with Peaka-hosted Trino clusters","uniqueKey":"trinoConnection.peakaKey","typeLabel":"string"}},"uniqueKey":"trinoConnection","typeLabel":"object"},"databricksConnection":{"type":"object","description":"Databricks SQL warehouse connection configuration","properties":{"host":{"type":"string","description":"Databricks workspace host (e.g. dbc-xxxxxxxx-xxxx.cloud.databricks.com)","uniqueKey":"databricksConnection.host","typeLabel":"string"},"path":{"type":"string","description":"SQL warehouse HTTP path (e.g. /sql/1.0/warehouses/\u003cwarehouse-id>)","uniqueKey":"databricksConnection.path","typeLabel":"string"},"token":{"type":"string","description":"Personal access token for authentication","uniqueKey":"databricksConnection.token","typeLabel":"string"},"oauthClientId":{"type":"string","description":"OAuth M2M client ID (service principal)","uniqueKey":"databricksConnection.oauthClientId","typeLabel":"string"},"oauthClientSecret":{"type":"string","description":"OAuth M2M client secret (service principal)","uniqueKey":"databricksConnection.oauthClientSecret","typeLabel":"string"},"defaultCatalog":{"type":"string","description":"Default Unity Catalog to use for queries","uniqueKey":"databricksConnection.defaultCatalog","typeLabel":"string"},"defaultSchema":{"type":"string","description":"Default schema to use for queries","uniqueKey":"databricksConnection.defaultSchema","typeLabel":"string"},"setupSQL":{"type":"string","description":"SQL statements to run when the connection is established","uniqueKey":"databricksConnection.setupSQL","typeLabel":"string"}},"uniqueKey":"databricksConnection","typeLabel":"object"},"mysqlConnection":{"type":"object","description":"MySQL database connection configuration","properties":{"host":{"type":"string","description":"MySQL server hostname or IP address","uniqueKey":"mysqlConnection.host","typeLabel":"string"},"port":{"type":"integer","description":"MySQL server port number","uniqueKey":"mysqlConnection.port","typeLabel":"integer"},"database":{"type":"string","description":"Name of the MySQL database","uniqueKey":"mysqlConnection.database","typeLabel":"string"},"user":{"type":"string","description":"MySQL username for authentication","uniqueKey":"mysqlConnection.user","typeLabel":"string"},"password":{"type":"string","description":"MySQL password for authentication","uniqueKey":"mysqlConnection.password","typeLabel":"string"}},"uniqueKey":"mysqlConnection","typeLabel":"object"},"duckdbConnection":{"type":"object","description":"DuckDB database connection configuration. Publisher intentionally exposes only data-source intent here. Database files, working directories, filesystem/network policy, extension loading, setup SQL, temp directories, and resource knobs are owned by Publisher so environment configs cannot widen deployment policy through low-level DuckDB settings.\n","properties":{"attachedDatabases":{"type":"array","items":{"type":"object","description":"Attached DuckDB database","properties":{"name":{"type":"string","pattern":"^[a-zA-Z_][a-zA-Z0-9_]*$","example":"test_connection, _connection, test_connection_1","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","description":"Type of database connection","enum":["bigquery","snowflake","postgres","gcs","s3","azure"],"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"attributes":{"type":"object","description":"Connection capabilities and configuration attributes","properties":{"dialectName":{"type":"string","description":"SQL dialect name for the connection","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].attributes.dialectName","typeLabel":"string"},"isPool":{"type":"boolean","description":"Whether the connection uses connection pooling","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].attributes.isPool","typeLabel":"boolean"},"canPersist":{"type":"boolean","description":"Whether the connection supports persistent storage operations","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].attributes.canPersist","typeLabel":"boolean"},"canStream":{"type":"boolean","description":"Whether the connection supports streaming query results","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].attributes.canStream","typeLabel":"boolean"}},"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].attributes","typeLabel":"object"},"bigqueryConnection":{"type":"object","description":"Google BigQuery database connection configuration","properties":{"defaultProjectId":{"type":"string","description":"Default BigQuery project ID for queries","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].bigqueryConnection.defaultProjectId","typeLabel":"string"},"billingProjectId":{"type":"string","description":"BigQuery project ID for billing purposes","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].bigqueryConnection.billingProjectId","typeLabel":"string"},"location":{"type":"string","description":"BigQuery dataset location/region","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].bigqueryConnection.location","typeLabel":"string"},"serviceAccountKeyJson":{"type":"string","description":"JSON string containing Google Cloud service account credentials","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].bigqueryConnection.serviceAccountKeyJson","typeLabel":"string"},"maximumBytesBilled":{"type":"string","description":"Maximum bytes to bill for query execution (prevents runaway costs)","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].bigqueryConnection.maximumBytesBilled","typeLabel":"string"},"queryTimeoutMilliseconds":{"type":"string","description":"Query timeout in milliseconds","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].bigqueryConnection.queryTimeoutMilliseconds","typeLabel":"string"}},"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].bigqueryConnection","typeLabel":"object"},"snowflakeConnection":{"type":"object","description":"Snowflake database connection configuration","properties":{"account":{"type":"string","description":"Snowflake account identifier","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].snowflakeConnection.account","typeLabel":"string"},"username":{"type":"string","description":"Snowflake username for authentication","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].snowflakeConnection.username","typeLabel":"string"},"password":{"type":"string","description":"Snowflake password for authentication","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].snowflakeConnection.password","typeLabel":"string"},"privateKey":{"type":"string","description":"Snowflake private key for authentication","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].snowflakeConnection.privateKey","typeLabel":"string"},"privateKeyPass":{"type":"string","description":"Passphrase for the Snowflake private key","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].snowflakeConnection.privateKeyPass","typeLabel":"string"},"warehouse":{"type":"string","description":"Snowflake warehouse name","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].snowflakeConnection.warehouse","typeLabel":"string"},"database":{"type":"string","description":"Snowflake database name","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].snowflakeConnection.database","typeLabel":"string"},"schema":{"type":"string","description":"Snowflake schema name","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].snowflakeConnection.schema","typeLabel":"string"},"role":{"type":"string","description":"Snowflake role name","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].snowflakeConnection.role","typeLabel":"string"},"responseTimeoutMilliseconds":{"type":"integer","description":"Query response timeout in milliseconds","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].snowflakeConnection.responseTimeoutMilliseconds","typeLabel":"integer"}},"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].snowflakeConnection","typeLabel":"object"},"postgresConnection":{"type":"object","description":"PostgreSQL database connection configuration","properties":{"host":{"type":"string","description":"PostgreSQL server hostname or IP address","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].postgresConnection.host","typeLabel":"string"},"port":{"type":"integer","description":"PostgreSQL server port number","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].postgresConnection.port","typeLabel":"integer"},"databaseName":{"type":"string","description":"Name of the PostgreSQL database","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].postgresConnection.databaseName","typeLabel":"string"},"userName":{"type":"string","description":"PostgreSQL username for authentication","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].postgresConnection.userName","typeLabel":"string"},"password":{"type":"string","description":"PostgreSQL password for authentication","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].postgresConnection.password","typeLabel":"string"},"connectionString":{"type":"string","description":"Complete PostgreSQL connection string (alternative to individual parameters)","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].postgresConnection.connectionString","typeLabel":"string"},"sslmode":{"type":"string","enum":["disable","no-verify","verify-ca"],"description":"TLS mode for a connection reached through a `proxy` (SSH bastion). Because the driver connects to a local tunnel endpoint, the cert hostname can't be checked; `verify-ca` validates the server cert chain against the trusted CA bundle (e.g. the baked Amazon RDS roots) without the hostname, `no-verify` encrypts without verifying, and `disable` uses no TLS. The server defaults it to `no-verify` when a proxy is set (so a force-SSL target isn't rejected for plaintext) — a server-applied default, not a schema default. Only valid on a proxied connection — a direct connection uses the deployment PGSSLMODE and rejects this field.","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].postgresConnection.sslmode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].postgresConnection","typeLabel":"object"},"gcsConnection":{"type":"object","description":"Google Cloud Storage connection configuration for DuckDB","properties":{"keyId":{"type":"string","description":"GCS HMAC access key ID","isRequired":true,"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].gcsConnection.keyId","typeLabel":"string"},"secret":{"type":"string","description":"GCS HMAC secret key","isRequired":true,"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].gcsConnection.secret","typeLabel":"string"}},"required":["keyId","secret"],"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].gcsConnection","typeLabel":"object"},"s3Connection":{"type":"object","description":"AWS S3 connection configuration for DuckDB","properties":{"accessKeyId":{"type":"string","description":"AWS access key ID","isRequired":true,"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].s3Connection.accessKeyId","typeLabel":"string"},"secretAccessKey":{"type":"string","description":"AWS secret access key","isRequired":true,"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].s3Connection.secretAccessKey","typeLabel":"string"},"region":{"type":"string","description":"AWS region (e.g., us-east-1)","default":"us-east-1","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].s3Connection.region","typeLabel":"string"},"endpoint":{"type":"string","description":"Custom S3-compatible endpoint URL (optional, for MinIO, etc.)","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].s3Connection.endpoint","typeLabel":"string"},"sessionToken":{"type":"string","description":"AWS session token for temporary credentials (optional)","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].s3Connection.sessionToken","typeLabel":"string"}},"required":["accessKeyId","secretAccessKey"],"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].s3Connection","typeLabel":"object"},"azureConnection":{"type":"object","description":"Azure Data Lake Storage (ADLS Gen2) / Blob Storage connection configuration Supports https://, http://, abfss://, and az:// URL schemes.\n","properties":{"authType":{"type":"string","enum":["service_principal","sas_token"],"description":"Authentication method for Azure Storage","isRequired":true,"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].azureConnection.authType","typeLabel":"enum\u003cstring>"},"sasUrl":{"type":"string","description":"Full SAS URL including token; required for sas_token auth. Supports single file, directory glob (*.ext), or recursive (**) patterns. Example: https://account.blob.core.windows.net/container/path/*.parquet?sp=rl\u0026st=...\n","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].azureConnection.sasUrl","typeLabel":"string"},"tenantId":{"type":"string","description":"Azure AD tenant ID (required for service_principal)","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].azureConnection.tenantId","typeLabel":"string"},"clientId":{"type":"string","description":"Azure AD application (client) ID (required for service_principal)","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].azureConnection.clientId","typeLabel":"string"},"clientSecret":{"type":"string","description":"Azure AD client secret (required for service_principal)","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].azureConnection.clientSecret","typeLabel":"string"},"accountName":{"type":"string","description":"Azure Storage account name (required for service_principal)","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].azureConnection.accountName","typeLabel":"string"},"fileUrl":{"type":"string","description":"Azure file URL to query; required for service_principal auth. Supports single file, directory glob (*.ext), or recursive (**) patterns. Example: https://account.blob.core.windows.net/container/path/**\n","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].azureConnection.fileUrl","typeLabel":"string"}},"required":["authType"],"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].azureConnection","typeLabel":"object"}},"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX]","typeLabel":"object"},"uniqueKey":"duckdbConnection.attachedDatabases","typeLabel":"object[]"}},"uniqueKey":"duckdbConnection","typeLabel":"object"},"motherduckConnection":{"type":"object","description":"MotherDuck database connection configuration","properties":{"accessToken":{"type":"string","description":"MotherDuck access token","uniqueKey":"motherduckConnection.accessToken","typeLabel":"string"},"database":{"type":"string","description":"MotherDuck database name","uniqueKey":"motherduckConnection.database","typeLabel":"string"}},"uniqueKey":"motherduckConnection","typeLabel":"object"},"ducklakeConnection":{"type":"object","description":"DuckLake lakehouse connection configuration","properties":{"storage":{"type":"object","description":"Data storage connection configuration (S3 or GCS)","properties":{"bucketUrl":{"type":"string","description":"URL of the storage bucket (e.g. s3://my-bucket/path or gs://my-bucket/path)","isRequired":true,"uniqueKey":"ducklakeConnection.storage.bucketUrl","typeLabel":"string"},"s3Connection":{"type":"object","description":"AWS S3 connection configuration for data storage","properties":{"accessKeyId":{"type":"string","description":"AWS access key ID","isRequired":true,"uniqueKey":"ducklakeConnection.storage.s3Connection.accessKeyId","typeLabel":"string"},"secretAccessKey":{"type":"string","description":"AWS secret access key","isRequired":true,"uniqueKey":"ducklakeConnection.storage.s3Connection.secretAccessKey","typeLabel":"string"},"region":{"type":"string","description":"AWS region (e.g., us-east-1)","default":"us-east-1","uniqueKey":"ducklakeConnection.storage.s3Connection.region","typeLabel":"string"},"endpoint":{"type":"string","description":"Custom S3-compatible endpoint URL (optional, for MinIO, etc.)","uniqueKey":"ducklakeConnection.storage.s3Connection.endpoint","typeLabel":"string"},"sessionToken":{"type":"string","description":"AWS session token for temporary credentials (optional)","uniqueKey":"ducklakeConnection.storage.s3Connection.sessionToken","typeLabel":"string"}},"required":["accessKeyId","secretAccessKey"],"uniqueKey":"ducklakeConnection.storage.s3Connection","typeLabel":"object"},"gcsConnection":{"type":"object","description":"Google Cloud Storage connection configuration for data storage","properties":{"keyId":{"type":"string","description":"GCS HMAC access key ID","isRequired":true,"uniqueKey":"ducklakeConnection.storage.gcsConnection.keyId","typeLabel":"string"},"secret":{"type":"string","description":"GCS HMAC secret key","isRequired":true,"uniqueKey":"ducklakeConnection.storage.gcsConnection.secret","typeLabel":"string"}},"required":["keyId","secret"],"uniqueKey":"ducklakeConnection.storage.gcsConnection","typeLabel":"object"}},"required":["bucketUrl"],"isRequired":true,"uniqueKey":"ducklakeConnection.storage","typeLabel":"object"},"catalog":{"type":"object","description":"Catalog metadata connection configuration","properties":{"postgresConnection":{"type":"object","description":"PostgreSQL connection for DuckLake metadata catalog","properties":{"host":{"type":"string","description":"PostgreSQL server hostname or IP address","uniqueKey":"ducklakeConnection.catalog.postgresConnection.host","typeLabel":"string"},"port":{"type":"integer","description":"PostgreSQL server port number","uniqueKey":"ducklakeConnection.catalog.postgresConnection.port","typeLabel":"integer"},"databaseName":{"type":"string","description":"Name of the PostgreSQL database","uniqueKey":"ducklakeConnection.catalog.postgresConnection.databaseName","typeLabel":"string"},"userName":{"type":"string","description":"PostgreSQL username for authentication","uniqueKey":"ducklakeConnection.catalog.postgresConnection.userName","typeLabel":"string"},"password":{"type":"string","description":"PostgreSQL password for authentication","uniqueKey":"ducklakeConnection.catalog.postgresConnection.password","typeLabel":"string"},"connectionString":{"type":"string","description":"Complete PostgreSQL connection string (alternative to individual parameters)","uniqueKey":"ducklakeConnection.catalog.postgresConnection.connectionString","typeLabel":"string"},"sslmode":{"type":"string","enum":["disable","no-verify","verify-ca"],"description":"TLS mode for a connection reached through a `proxy` (SSH bastion). Because the driver connects to a local tunnel endpoint, the cert hostname can't be checked; `verify-ca` validates the server cert chain against the trusted CA bundle (e.g. the baked Amazon RDS roots) without the hostname, `no-verify` encrypts without verifying, and `disable` uses no TLS. The server defaults it to `no-verify` when a proxy is set (so a force-SSL target isn't rejected for plaintext) — a server-applied default, not a schema default. Only valid on a proxied connection — a direct connection uses the deployment PGSSLMODE and rejects this field.","uniqueKey":"ducklakeConnection.catalog.postgresConnection.sslmode","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"ducklakeConnection.catalog.postgresConnection","typeLabel":"object"}},"required":["postgresConnection"],"isRequired":true,"uniqueKey":"ducklakeConnection.catalog","typeLabel":"object"}},"required":["storage","catalog"],"uniqueKey":"ducklakeConnection","typeLabel":"object"},"publisherConnection":{"type":"object","description":"Malloy Publisher proxy connection. Proxies SQL to a remote Publisher dataplane instead of connecting to a warehouse directly. The remote dataplane owns authentication, access control, and read-only enforcement.\n","properties":{"connectionUri":{"type":"string","description":"Full URI of the remote connection, e.g. https://org.data.example.com/api/v0/environments/\u003cenv>/connections/\u003cname>\n","isRequired":true,"uniqueKey":"publisherConnection.connectionUri","typeLabel":"string"},"accessToken":{"type":"string","description":"Bearer token for the remote dataplane (user-scoped, short-lived)","uniqueKey":"publisherConnection.accessToken","typeLabel":"string"}},"required":["connectionUri"],"uniqueKey":"publisherConnection","typeLabel":"object"},"template":{"type":"string","writeOnly":true,"enum":["bq_demo"],"description":"Create this connection from a managed sample template instead of supplying credentials. The server fills the connection type, configuration, and credentials from the named template (currently only `bq_demo`, our sample BigQuery dataset); any credential or table fields in the request are ignored and the connection name defaults to the template name when omitted. Create-only: never stored or returned.\n","uniqueKey":"template","typeLabel":"enum\u003cstring>"},"includeTables":{"oneOf":[{"type":"array","description":"The list of tables to include, in the format `{dataset/schema}.{table}`. The first part represents the dataset or schema, and the second part is the table name. The second part can be a literal `*` to include all tables.\n","items":{"type":"string","pattern":"^(?:[a-zA-Z0-9_-]+\\.)?[a-zA-Z0-9_-]+\\.(?:[a-zA-Z0-9_-]+|\\*)$","description":"Table name pattern matching {schema}.{table}, {schema}.*, {catalog}.{schema}.{table}, or {catalog}.{schema}.*","uniqueKey":"includeTables.oneOf.0.items.[INDEX]","typeLabel":"string"},"example":["sales.orders","finance.*"],"uniqueKey":"includeTables.oneOf.0","typeLabel":"string[]"},{"type":"null","description":"The list of tables to include, in the format `{dataset/schema}.{table}`. The first part represents the dataset or schema, and the second part is the table name. The second part can be a literal `*` to include all tables.\n","items":{"type":"string","pattern":"^(?:[a-zA-Z0-9_-]+\\.)?[a-zA-Z0-9_-]+\\.(?:[a-zA-Z0-9_-]+|\\*)$","description":"Table name pattern matching {schema}.{table}, {schema}.*, {catalog}.{schema}.{table}, or {catalog}.{schema}.*"},"example":["sales.orders","finance.*"],"uniqueKey":"includeTables.oneOf.1","typeLabel":"null"}],"uniqueKey":"includeTables","typeLabel":"string[] | null"},"excludeAllTables":{"type":"boolean","description":"Whether to exclude all tables.","default":false,"uniqueKey":"excludeAllTables","typeLabel":"boolean"},"excludeTables":{"oneOf":[{"type":"array","description":"The list of tables to exclude, in the format `{dataset/schema}.{table}`. The first part represents the dataset or schema, and the second part is the table name. The second part can be a literal `*` to exclude all tables.\n","items":{"type":"string","pattern":"^(?:[a-zA-Z0-9_-]+\\.)?[a-zA-Z0-9_-]+\\.(?:[a-zA-Z0-9_-]+|\\*)$","description":"Table name pattern matching {schema}.{table}, {schema}.*, {catalog}.{schema}.{table}, or {catalog}.{schema}.*","uniqueKey":"excludeTables.oneOf.0.items.[INDEX]","typeLabel":"string"},"example":["backup.records","temp_data.*"],"uniqueKey":"excludeTables.oneOf.0","typeLabel":"string[]"},{"type":"null","description":"The list of tables to exclude, in the format `{dataset/schema}.{table}`. The first part represents the dataset or schema, and the second part is the table name. The second part can be a literal `*` to exclude all tables.\n","items":{"type":"string","pattern":"^(?:[a-zA-Z0-9_-]+\\.)?[a-zA-Z0-9_-]+\\.(?:[a-zA-Z0-9_-]+|\\*)$","description":"Table name pattern matching {schema}.{table}, {schema}.*, {catalog}.{schema}.{table}, or {catalog}.{schema}.*"},"example":["backup.records","temp_data.*"],"uniqueKey":"excludeTables.oneOf.1","typeLabel":"null"}],"uniqueKey":"excludeTables","typeLabel":"string[] | null"},"indexingStatus":{"oneOf":[{"type":"string","enum":["UNKNOWN","SCHEMA_INDEXING","INDEXED","SKIPPED","FAILED","RETRY","MODEL_SUGGESTION_INDEXING"],"description":"Current indexing status of the connection. UNKNOWN means indexing is queued and starts automatically on creation (no manual action; \"Start indexing\" is an optional re-trigger). SCHEMA_INDEXING means schema indexing is in progress, MODEL_SUGGESTION_INDEXING means schema indexing finished (schema search is usable) and the model-suggestions pipeline is generating dimensions/measures/joins, INDEXED means both pipelines finished, SKIPPED means the connection is excluded from indexing, FAILED means schema indexing failed, RETRY means the connection was updated while indexing was in progress and will be re-indexed when the current job finishes.\n","uniqueKey":"indexingStatus.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["UNKNOWN","SCHEMA_INDEXING","INDEXED","SKIPPED","FAILED","RETRY","MODEL_SUGGESTION_INDEXING"],"description":"Current indexing status of the connection. UNKNOWN means indexing is queued and starts automatically on creation (no manual action; \"Start indexing\" is an optional re-trigger). SCHEMA_INDEXING means schema indexing is in progress, MODEL_SUGGESTION_INDEXING means schema indexing finished (schema search is usable) and the model-suggestions pipeline is generating dimensions/measures/joins, INDEXED means both pipelines finished, SKIPPED means the connection is excluded from indexing, FAILED means schema indexing failed, RETRY means the connection was updated while indexing was in progress and will be re-indexed when the current job finishes.\n","uniqueKey":"indexingStatus.oneOf.1","typeLabel":"null"}],"uniqueKey":"indexingStatus","typeLabel":"enum\u003cstring> | null"},"indexingStatusLastUpdated":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 timestamp of when the indexing status was last updated","uniqueKey":"indexingStatusLastUpdated.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 timestamp of when the indexing status was last updated","uniqueKey":"indexingStatusLastUpdated.oneOf.1","typeLabel":"null"}],"uniqueKey":"indexingStatusLastUpdated","typeLabel":"string\u003cdate-time> | null"},"indexingProgress":{"oneOf":[{"type":"object","description":"Aggregate per-pipeline indexing progress for a connection, polled from the entity-indexing service while the connection is being indexed. Populated on the single-connection read while indexing is in progress (SCHEMA_INDEXING / MODEL_SUGGESTION_INDEXING); null once INDEXED or when progress is unavailable.\n","properties":{"schemaProgress":{"type":"object","description":"Connection-schema pipeline progress (tables and columns).","properties":{"tablesTotal":{"type":"integer","uniqueKey":"indexingProgress.oneOf.0.schemaProgress.tablesTotal","typeLabel":"integer"},"tablesProcessing":{"type":"integer","uniqueKey":"indexingProgress.oneOf.0.schemaProgress.tablesProcessing","typeLabel":"integer"},"tablesCompleted":{"type":"integer","uniqueKey":"indexingProgress.oneOf.0.schemaProgress.tablesCompleted","typeLabel":"integer"},"tablesFailed":{"type":"integer","uniqueKey":"indexingProgress.oneOf.0.schemaProgress.tablesFailed","typeLabel":"integer"},"columnsTotal":{"oneOf":[{"type":"integer","description":"Sum of column counts over all tables (null if no counts recorded yet).","uniqueKey":"indexingProgress.oneOf.0.schemaProgress.columnsTotal.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Sum of column counts over all tables (null if no counts recorded yet).","uniqueKey":"indexingProgress.oneOf.0.schemaProgress.columnsTotal.oneOf.1","typeLabel":"null"}],"uniqueKey":"indexingProgress.oneOf.0.schemaProgress.columnsTotal","typeLabel":"integer | null"},"columnsCompleted":{"oneOf":[{"type":"integer","description":"Sum of column counts over completed tables.","uniqueKey":"indexingProgress.oneOf.0.schemaProgress.columnsCompleted.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Sum of column counts over completed tables.","uniqueKey":"indexingProgress.oneOf.0.schemaProgress.columnsCompleted.oneOf.1","typeLabel":"null"}],"uniqueKey":"indexingProgress.oneOf.0.schemaProgress.columnsCompleted","typeLabel":"integer | null"}},"uniqueKey":"indexingProgress.oneOf.0.schemaProgress","typeLabel":"object"},"modelSuggestionsProgress":{"type":"object","description":"Connection-model-suggestions pipeline progress.","properties":{"tablesTotal":{"type":"integer","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.tablesTotal","typeLabel":"integer"},"tablesProcessing":{"type":"integer","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.tablesProcessing","typeLabel":"integer"},"tablesCompleted":{"type":"integer","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.tablesCompleted","typeLabel":"integer"},"tablesFailed":{"type":"integer","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.tablesFailed","typeLabel":"integer"},"joinWorkTotal":{"oneOf":[{"type":"integer","description":"Stable denominator for join progress (sum of join-work estimates over planned tables).","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.joinWorkTotal.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Stable denominator for join progress (sum of join-work estimates over planned tables).","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.joinWorkTotal.oneOf.1","typeLabel":"null"}],"uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.joinWorkTotal","typeLabel":"integer | null"},"joinWorkCompleted":{"oneOf":[{"type":"integer","description":"Numerator for join progress (sum of join-work estimates over completed tables).","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.joinWorkCompleted.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Numerator for join progress (sum of join-work estimates over completed tables).","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.joinWorkCompleted.oneOf.1","typeLabel":"null"}],"uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.joinWorkCompleted","typeLabel":"integer | null"},"joinsGenerated":{"oneOf":[{"type":"integer","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.joinsGenerated.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.joinsGenerated.oneOf.1","typeLabel":"null"}],"uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.joinsGenerated","typeLabel":"integer | null"},"dimensionsGenerated":{"oneOf":[{"type":"integer","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.dimensionsGenerated.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.dimensionsGenerated.oneOf.1","typeLabel":"null"}],"uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.dimensionsGenerated","typeLabel":"integer | null"},"measuresGenerated":{"oneOf":[{"type":"integer","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.measuresGenerated.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.measuresGenerated.oneOf.1","typeLabel":"null"}],"uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.measuresGenerated","typeLabel":"integer | null"}},"uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress","typeLabel":"object"}},"uniqueKey":"indexingProgress.oneOf.0","typeLabel":"object"},{"type":"null","description":"Aggregate per-pipeline indexing progress for a connection, polled from the entity-indexing service while the connection is being indexed. Populated on the single-connection read while indexing is in progress (SCHEMA_INDEXING / MODEL_SUGGESTION_INDEXING); null once INDEXED or when progress is unavailable.\n","properties":{"schemaProgress":{"type":"object","description":"Connection-schema pipeline progress (tables and columns).","properties":{"tablesTotal":{"type":"integer"},"tablesProcessing":{"type":"integer"},"tablesCompleted":{"type":"integer"},"tablesFailed":{"type":"integer"},"columnsTotal":{"oneOf":[{"type":"integer","description":"Sum of column counts over all tables (null if no counts recorded yet)."},{"type":"null","description":"Sum of column counts over all tables (null if no counts recorded yet)."}]},"columnsCompleted":{"oneOf":[{"type":"integer","description":"Sum of column counts over completed tables."},{"type":"null","description":"Sum of column counts over completed tables."}]}}},"modelSuggestionsProgress":{"type":"object","description":"Connection-model-suggestions pipeline progress.","properties":{"tablesTotal":{"type":"integer"},"tablesProcessing":{"type":"integer"},"tablesCompleted":{"type":"integer"},"tablesFailed":{"type":"integer"},"joinWorkTotal":{"oneOf":[{"type":"integer","description":"Stable denominator for join progress (sum of join-work estimates over planned tables)."},{"type":"null","description":"Stable denominator for join progress (sum of join-work estimates over planned tables)."}]},"joinWorkCompleted":{"oneOf":[{"type":"integer","description":"Numerator for join progress (sum of join-work estimates over completed tables)."},{"type":"null","description":"Numerator for join progress (sum of join-work estimates over completed tables)."}]},"joinsGenerated":{"oneOf":[{"type":"integer"},{"type":"null"}]},"dimensionsGenerated":{"oneOf":[{"type":"integer"},{"type":"null"}]},"measuresGenerated":{"oneOf":[{"type":"integer"},{"type":"null"}]}}}},"uniqueKey":"indexingProgress.oneOf.1","typeLabel":"null"}],"uniqueKey":"indexingProgress","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"resource":"\u003cstring>","name":"\u003cstring>","fingerprint":"\u003cstring>","attributes":{"dialectName":"\u003cstring>","isPool":true,"canPersist":true,"canStream":true},"proxy":{"type":"ssh","ssh":{"host":"\u003cstring>","port":22,"username":"\u003cstring>","privateKey":"\u003cstring>","privateKeyPass":"\u003cstring>","hostKey":"\u003cstring>"}},"postgresConnection":{"host":"\u003cstring>","port":123,"databaseName":"\u003cstring>","userName":"\u003cstring>","password":"\u003cstring>","connectionString":"\u003cstring>"},"bigqueryConnection":{"defaultProjectId":"\u003cstring>","billingProjectId":"\u003cstring>","location":"\u003cstring>","serviceAccountKeyJson":"\u003cstring>","maximumBytesBilled":"\u003cstring>","queryTimeoutMilliseconds":"\u003cstring>"},"snowflakeConnection":{"account":"\u003cstring>","username":"\u003cstring>","password":"\u003cstring>","privateKey":"\u003cstring>","privateKeyPass":"\u003cstring>","warehouse":"\u003cstring>","database":"\u003cstring>","schema":"\u003cstring>","role":"\u003cstring>","responseTimeoutMilliseconds":123},"trinoConnection":{"server":"\u003cstring>","port":123,"catalog":"\u003cstring>","schema":"\u003cstring>","user":"\u003cstring>","password":"\u003cstring>","peakaKey":"\u003cstring>"},"databricksConnection":{"host":"\u003cstring>","path":"\u003cstring>","token":"\u003cstring>","oauthClientId":"\u003cstring>","oauthClientSecret":"\u003cstring>","defaultCatalog":"\u003cstring>","defaultSchema":"\u003cstring>","setupSQL":"\u003cstring>"},"mysqlConnection":{"host":"\u003cstring>","port":123,"database":"\u003cstring>","user":"\u003cstring>","password":"\u003cstring>"},"duckdbConnection":{"attachedDatabases":[{"name":"test_connection, _connection, test_connection_1","attributes":{"dialectName":"\u003cstring>","isPool":true,"canPersist":true,"canStream":true},"bigqueryConnection":{"defaultProjectId":"\u003cstring>","billingProjectId":"\u003cstring>","location":"\u003cstring>","serviceAccountKeyJson":"\u003cstring>","maximumBytesBilled":"\u003cstring>","queryTimeoutMilliseconds":"\u003cstring>"},"snowflakeConnection":{"account":"\u003cstring>","username":"\u003cstring>","password":"\u003cstring>","privateKey":"\u003cstring>","privateKeyPass":"\u003cstring>","warehouse":"\u003cstring>","database":"\u003cstring>","schema":"\u003cstring>","role":"\u003cstring>","responseTimeoutMilliseconds":123},"postgresConnection":{"host":"\u003cstring>","port":123,"databaseName":"\u003cstring>","userName":"\u003cstring>","password":"\u003cstring>","connectionString":"\u003cstring>"}}]},"motherduckConnection":{"accessToken":"\u003cstring>","database":"\u003cstring>"},"template":"bq_demo","includeTables":["sales.orders","finance.*"],"excludeAllTables":false,"excludeTables":["backup.records","temp_data.*"],"indexingStatusLastUpdated":"2023-11-07T05:31:56Z","indexingProgress":{"schemaProgress":{"tablesTotal":123,"tablesProcessing":123,"tablesCompleted":123,"tablesFailed":123,"columnsTotal":123,"columnsCompleted":123},"modelSuggestionsProgress":{"tablesTotal":123,"tablesProcessing":123,"tablesCompleted":123,"tablesFailed":123,"joinWorkTotal":123,"joinWorkCompleted":123,"joinsGenerated":123,"dimensionsGenerated":123,"measuresGenerated":123}}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"5f343744-b3ca-460a-b3f8-4585c63a8428":{"description":"Connection updated successfully","content":{"application/json":{"schema":{"type":"object","description":"Database connection configuration and metadata","x-class-name":"Connection","properties":{"resource":{"type":"string","description":"Resource path to the connection","uniqueKey":"resource","typeLabel":"string"},"name":{"type":"string","description":"Name of the connection","uniqueKey":"name","typeLabel":"string"},"type":{"type":"string","description":"Type of database connection","enum":["postgres","bigquery","snowflake","trino","databricks","mysql","duckdb","motherduck","ducklake","publisher"],"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"fingerprint":{"type":"string","description":"Optional, opaque, stable fingerprint of this connection's data identity. It is a hash of the configuration that determines *which data* the connection reaches (its data-locating settings), and deliberately excludes credentials and other secret values, so it stays constant across credential rotation and changes only when the connection is pointed at different data. When present, it is used as this connection's contribution to content-addressed build identifiers so that builds re-address only when the underlying data identity actually changes; consumers should treat it as an opaque token and use the supplied value verbatim rather than deriving their own. This field is optional — when omitted, a connection identity is derived locally instead.\n","uniqueKey":"fingerprint","typeLabel":"string"},"attributes":{"type":"object","description":"Connection capabilities and configuration attributes","properties":{"dialectName":{"type":"string","description":"SQL dialect name for the connection","uniqueKey":"attributes.dialectName","typeLabel":"string"},"isPool":{"type":"boolean","description":"Whether the connection uses connection pooling","uniqueKey":"attributes.isPool","typeLabel":"boolean"},"canPersist":{"type":"boolean","description":"Whether the connection supports persistent storage operations","uniqueKey":"attributes.canPersist","typeLabel":"boolean"},"canStream":{"type":"boolean","description":"Whether the connection supports streaming query results","uniqueKey":"attributes.canStream","typeLabel":"boolean"}},"uniqueKey":"attributes","typeLabel":"object"},"proxy":{"type":"object","description":"Optional network proxy through which the connection is reached. Applies to any connection type whose database is not directly reachable (e.g. behind a bastion). The proxy is established below the driver, so the driver connects to a local endpoint transparently. Modeled as a discriminated union on `type` so additional proxy mechanisms can be added later.","properties":{"type":{"type":"string","description":"Proxy mechanism. Currently only SSH local port-forwarding.","enum":["ssh"],"uniqueKey":"proxy.type","typeLabel":"enum\u003cstring>"},"ssh":{"type":"object","description":"SSH bastion / jump-host config for reaching a database inside a private network via an SSH local port-forward. Authentication is public-key only.","properties":{"host":{"type":"string","description":"Bastion hostname or IP address (the SSH jump host)","uniqueKey":"proxy.ssh.host","typeLabel":"string"},"port":{"type":"integer","default":22,"description":"Bastion SSH port (defaults to 22)","uniqueKey":"proxy.ssh.port","typeLabel":"integer"},"username":{"type":"string","description":"SSH username on the bastion","uniqueKey":"proxy.ssh.username","typeLabel":"string"},"privateKey":{"type":"string","description":"PEM-encoded SSH private key used to authenticate to the bastion. Write-only secret (never returned by reads). When updating an existing proxy, leave this blank to keep the stored key. The customer authorizes the matching public key in the bastion's authorized_keys.","uniqueKey":"proxy.ssh.privateKey","typeLabel":"string"},"privateKeyPass":{"type":"string","description":"Passphrase for the encrypted private key, if any. Write-only secret (never returned by reads). When updating, leave blank to keep the stored passphrase (kept only when the private key is also kept, not on rotation).","uniqueKey":"proxy.ssh.privateKeyPass","typeLabel":"string"},"hostKey":{"type":"string","description":"Optional pinned bastion host public key(s), as one or more OpenSSH\nknown_hosts lines (or bare base64 blobs), verified on every connect.\nList multiple lines to pin a load-balanced/HA bastion that presents a\ndifferent key per backend — any listed key is accepted; a mismatch\nfails the connection closed. Plain and hashed (`|1|…`) lines both work\n— only the key blob is compared, never the hostname. When omitted, the\ntunnel connects without host-key verification (the self-service\ndefault); the SSH transport is still encrypted.\n","uniqueKey":"proxy.ssh.hostKey","typeLabel":"string"}},"uniqueKey":"proxy.ssh","typeLabel":"object"}},"uniqueKey":"proxy","typeLabel":"object"},"postgresConnection":{"type":"object","description":"PostgreSQL database connection configuration","properties":{"host":{"type":"string","description":"PostgreSQL server hostname or IP address","uniqueKey":"postgresConnection.host","typeLabel":"string"},"port":{"type":"integer","description":"PostgreSQL server port number","uniqueKey":"postgresConnection.port","typeLabel":"integer"},"databaseName":{"type":"string","description":"Name of the PostgreSQL database","uniqueKey":"postgresConnection.databaseName","typeLabel":"string"},"userName":{"type":"string","description":"PostgreSQL username for authentication","uniqueKey":"postgresConnection.userName","typeLabel":"string"},"password":{"type":"string","description":"PostgreSQL password for authentication","uniqueKey":"postgresConnection.password","typeLabel":"string"},"connectionString":{"type":"string","description":"Complete PostgreSQL connection string (alternative to individual parameters)","uniqueKey":"postgresConnection.connectionString","typeLabel":"string"},"sslmode":{"type":"string","enum":["disable","no-verify","verify-ca"],"description":"TLS mode for a connection reached through a `proxy` (SSH bastion). Because the driver connects to a local tunnel endpoint, the cert hostname can't be checked; `verify-ca` validates the server cert chain against the trusted CA bundle (e.g. the baked Amazon RDS roots) without the hostname, `no-verify` encrypts without verifying, and `disable` uses no TLS. The server defaults it to `no-verify` when a proxy is set (so a force-SSL target isn't rejected for plaintext) — a server-applied default, not a schema default. Only valid on a proxied connection — a direct connection uses the deployment PGSSLMODE and rejects this field.","uniqueKey":"postgresConnection.sslmode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"postgresConnection","typeLabel":"object"},"bigqueryConnection":{"type":"object","description":"Google BigQuery database connection configuration","properties":{"defaultProjectId":{"type":"string","description":"Default BigQuery project ID for queries","uniqueKey":"bigqueryConnection.defaultProjectId","typeLabel":"string"},"billingProjectId":{"type":"string","description":"BigQuery project ID for billing purposes","uniqueKey":"bigqueryConnection.billingProjectId","typeLabel":"string"},"location":{"type":"string","description":"BigQuery dataset location/region","uniqueKey":"bigqueryConnection.location","typeLabel":"string"},"serviceAccountKeyJson":{"type":"string","description":"JSON string containing Google Cloud service account credentials","uniqueKey":"bigqueryConnection.serviceAccountKeyJson","typeLabel":"string"},"maximumBytesBilled":{"type":"string","description":"Maximum bytes to bill for query execution (prevents runaway costs)","uniqueKey":"bigqueryConnection.maximumBytesBilled","typeLabel":"string"},"queryTimeoutMilliseconds":{"type":"string","description":"Query timeout in milliseconds","uniqueKey":"bigqueryConnection.queryTimeoutMilliseconds","typeLabel":"string"}},"uniqueKey":"bigqueryConnection","typeLabel":"object"},"snowflakeConnection":{"type":"object","description":"Snowflake database connection configuration","properties":{"account":{"type":"string","description":"Snowflake account identifier","uniqueKey":"snowflakeConnection.account","typeLabel":"string"},"username":{"type":"string","description":"Snowflake username for authentication","uniqueKey":"snowflakeConnection.username","typeLabel":"string"},"password":{"type":"string","description":"Snowflake password for authentication","uniqueKey":"snowflakeConnection.password","typeLabel":"string"},"privateKey":{"type":"string","description":"Snowflake private key for authentication","uniqueKey":"snowflakeConnection.privateKey","typeLabel":"string"},"privateKeyPass":{"type":"string","description":"Passphrase for the Snowflake private key","uniqueKey":"snowflakeConnection.privateKeyPass","typeLabel":"string"},"warehouse":{"type":"string","description":"Snowflake warehouse name","uniqueKey":"snowflakeConnection.warehouse","typeLabel":"string"},"database":{"type":"string","description":"Snowflake database name","uniqueKey":"snowflakeConnection.database","typeLabel":"string"},"schema":{"type":"string","description":"Snowflake schema name","uniqueKey":"snowflakeConnection.schema","typeLabel":"string"},"role":{"type":"string","description":"Snowflake role name","uniqueKey":"snowflakeConnection.role","typeLabel":"string"},"responseTimeoutMilliseconds":{"type":"integer","description":"Query response timeout in milliseconds","uniqueKey":"snowflakeConnection.responseTimeoutMilliseconds","typeLabel":"integer"}},"uniqueKey":"snowflakeConnection","typeLabel":"object"},"trinoConnection":{"type":"object","description":"Trino database connection configuration","properties":{"server":{"type":"string","description":"Trino server hostname or IP address","uniqueKey":"trinoConnection.server","typeLabel":"string"},"port":{"type":"number","description":"Trino server port number","uniqueKey":"trinoConnection.port","typeLabel":"number"},"catalog":{"type":"string","description":"Trino catalog name","uniqueKey":"trinoConnection.catalog","typeLabel":"string"},"schema":{"type":"string","description":"Trino schema name","uniqueKey":"trinoConnection.schema","typeLabel":"string"},"user":{"type":"string","description":"Trino username for authentication","uniqueKey":"trinoConnection.user","typeLabel":"string"},"password":{"type":"string","description":"Trino password for authentication","uniqueKey":"trinoConnection.password","typeLabel":"string"},"peakaKey":{"type":"string","description":"Peaka API key for authentication with Peaka-hosted Trino clusters","uniqueKey":"trinoConnection.peakaKey","typeLabel":"string"}},"uniqueKey":"trinoConnection","typeLabel":"object"},"databricksConnection":{"type":"object","description":"Databricks SQL warehouse connection configuration","properties":{"host":{"type":"string","description":"Databricks workspace host (e.g. dbc-xxxxxxxx-xxxx.cloud.databricks.com)","uniqueKey":"databricksConnection.host","typeLabel":"string"},"path":{"type":"string","description":"SQL warehouse HTTP path (e.g. /sql/1.0/warehouses/\u003cwarehouse-id>)","uniqueKey":"databricksConnection.path","typeLabel":"string"},"token":{"type":"string","description":"Personal access token for authentication","uniqueKey":"databricksConnection.token","typeLabel":"string"},"oauthClientId":{"type":"string","description":"OAuth M2M client ID (service principal)","uniqueKey":"databricksConnection.oauthClientId","typeLabel":"string"},"oauthClientSecret":{"type":"string","description":"OAuth M2M client secret (service principal)","uniqueKey":"databricksConnection.oauthClientSecret","typeLabel":"string"},"defaultCatalog":{"type":"string","description":"Default Unity Catalog to use for queries","uniqueKey":"databricksConnection.defaultCatalog","typeLabel":"string"},"defaultSchema":{"type":"string","description":"Default schema to use for queries","uniqueKey":"databricksConnection.defaultSchema","typeLabel":"string"},"setupSQL":{"type":"string","description":"SQL statements to run when the connection is established","uniqueKey":"databricksConnection.setupSQL","typeLabel":"string"}},"uniqueKey":"databricksConnection","typeLabel":"object"},"mysqlConnection":{"type":"object","description":"MySQL database connection configuration","properties":{"host":{"type":"string","description":"MySQL server hostname or IP address","uniqueKey":"mysqlConnection.host","typeLabel":"string"},"port":{"type":"integer","description":"MySQL server port number","uniqueKey":"mysqlConnection.port","typeLabel":"integer"},"database":{"type":"string","description":"Name of the MySQL database","uniqueKey":"mysqlConnection.database","typeLabel":"string"},"user":{"type":"string","description":"MySQL username for authentication","uniqueKey":"mysqlConnection.user","typeLabel":"string"},"password":{"type":"string","description":"MySQL password for authentication","uniqueKey":"mysqlConnection.password","typeLabel":"string"}},"uniqueKey":"mysqlConnection","typeLabel":"object"},"duckdbConnection":{"type":"object","description":"DuckDB database connection configuration. Publisher intentionally exposes only data-source intent here. Database files, working directories, filesystem/network policy, extension loading, setup SQL, temp directories, and resource knobs are owned by Publisher so environment configs cannot widen deployment policy through low-level DuckDB settings.\n","properties":{"attachedDatabases":{"type":"array","items":{"type":"object","description":"Attached DuckDB database","properties":{"name":{"type":"string","pattern":"^[a-zA-Z_][a-zA-Z0-9_]*$","example":"test_connection, _connection, test_connection_1","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","description":"Type of database connection","enum":["bigquery","snowflake","postgres","gcs","s3","azure"],"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"attributes":{"type":"object","description":"Connection capabilities and configuration attributes","properties":{"dialectName":{"type":"string","description":"SQL dialect name for the connection","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].attributes.dialectName","typeLabel":"string"},"isPool":{"type":"boolean","description":"Whether the connection uses connection pooling","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].attributes.isPool","typeLabel":"boolean"},"canPersist":{"type":"boolean","description":"Whether the connection supports persistent storage operations","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].attributes.canPersist","typeLabel":"boolean"},"canStream":{"type":"boolean","description":"Whether the connection supports streaming query results","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].attributes.canStream","typeLabel":"boolean"}},"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].attributes","typeLabel":"object"},"bigqueryConnection":{"type":"object","description":"Google BigQuery database connection configuration","properties":{"defaultProjectId":{"type":"string","description":"Default BigQuery project ID for queries","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].bigqueryConnection.defaultProjectId","typeLabel":"string"},"billingProjectId":{"type":"string","description":"BigQuery project ID for billing purposes","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].bigqueryConnection.billingProjectId","typeLabel":"string"},"location":{"type":"string","description":"BigQuery dataset location/region","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].bigqueryConnection.location","typeLabel":"string"},"serviceAccountKeyJson":{"type":"string","description":"JSON string containing Google Cloud service account credentials","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].bigqueryConnection.serviceAccountKeyJson","typeLabel":"string"},"maximumBytesBilled":{"type":"string","description":"Maximum bytes to bill for query execution (prevents runaway costs)","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].bigqueryConnection.maximumBytesBilled","typeLabel":"string"},"queryTimeoutMilliseconds":{"type":"string","description":"Query timeout in milliseconds","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].bigqueryConnection.queryTimeoutMilliseconds","typeLabel":"string"}},"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].bigqueryConnection","typeLabel":"object"},"snowflakeConnection":{"type":"object","description":"Snowflake database connection configuration","properties":{"account":{"type":"string","description":"Snowflake account identifier","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].snowflakeConnection.account","typeLabel":"string"},"username":{"type":"string","description":"Snowflake username for authentication","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].snowflakeConnection.username","typeLabel":"string"},"password":{"type":"string","description":"Snowflake password for authentication","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].snowflakeConnection.password","typeLabel":"string"},"privateKey":{"type":"string","description":"Snowflake private key for authentication","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].snowflakeConnection.privateKey","typeLabel":"string"},"privateKeyPass":{"type":"string","description":"Passphrase for the Snowflake private key","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].snowflakeConnection.privateKeyPass","typeLabel":"string"},"warehouse":{"type":"string","description":"Snowflake warehouse name","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].snowflakeConnection.warehouse","typeLabel":"string"},"database":{"type":"string","description":"Snowflake database name","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].snowflakeConnection.database","typeLabel":"string"},"schema":{"type":"string","description":"Snowflake schema name","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].snowflakeConnection.schema","typeLabel":"string"},"role":{"type":"string","description":"Snowflake role name","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].snowflakeConnection.role","typeLabel":"string"},"responseTimeoutMilliseconds":{"type":"integer","description":"Query response timeout in milliseconds","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].snowflakeConnection.responseTimeoutMilliseconds","typeLabel":"integer"}},"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].snowflakeConnection","typeLabel":"object"},"postgresConnection":{"type":"object","description":"PostgreSQL database connection configuration","properties":{"host":{"type":"string","description":"PostgreSQL server hostname or IP address","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].postgresConnection.host","typeLabel":"string"},"port":{"type":"integer","description":"PostgreSQL server port number","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].postgresConnection.port","typeLabel":"integer"},"databaseName":{"type":"string","description":"Name of the PostgreSQL database","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].postgresConnection.databaseName","typeLabel":"string"},"userName":{"type":"string","description":"PostgreSQL username for authentication","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].postgresConnection.userName","typeLabel":"string"},"password":{"type":"string","description":"PostgreSQL password for authentication","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].postgresConnection.password","typeLabel":"string"},"connectionString":{"type":"string","description":"Complete PostgreSQL connection string (alternative to individual parameters)","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].postgresConnection.connectionString","typeLabel":"string"},"sslmode":{"type":"string","enum":["disable","no-verify","verify-ca"],"description":"TLS mode for a connection reached through a `proxy` (SSH bastion). Because the driver connects to a local tunnel endpoint, the cert hostname can't be checked; `verify-ca` validates the server cert chain against the trusted CA bundle (e.g. the baked Amazon RDS roots) without the hostname, `no-verify` encrypts without verifying, and `disable` uses no TLS. The server defaults it to `no-verify` when a proxy is set (so a force-SSL target isn't rejected for plaintext) — a server-applied default, not a schema default. Only valid on a proxied connection — a direct connection uses the deployment PGSSLMODE and rejects this field.","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].postgresConnection.sslmode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].postgresConnection","typeLabel":"object"},"gcsConnection":{"type":"object","description":"Google Cloud Storage connection configuration for DuckDB","properties":{"keyId":{"type":"string","description":"GCS HMAC access key ID","isRequired":true,"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].gcsConnection.keyId","typeLabel":"string"},"secret":{"type":"string","description":"GCS HMAC secret key","isRequired":true,"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].gcsConnection.secret","typeLabel":"string"}},"required":["keyId","secret"],"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].gcsConnection","typeLabel":"object"},"s3Connection":{"type":"object","description":"AWS S3 connection configuration for DuckDB","properties":{"accessKeyId":{"type":"string","description":"AWS access key ID","isRequired":true,"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].s3Connection.accessKeyId","typeLabel":"string"},"secretAccessKey":{"type":"string","description":"AWS secret access key","isRequired":true,"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].s3Connection.secretAccessKey","typeLabel":"string"},"region":{"type":"string","description":"AWS region (e.g., us-east-1)","default":"us-east-1","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].s3Connection.region","typeLabel":"string"},"endpoint":{"type":"string","description":"Custom S3-compatible endpoint URL (optional, for MinIO, etc.)","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].s3Connection.endpoint","typeLabel":"string"},"sessionToken":{"type":"string","description":"AWS session token for temporary credentials (optional)","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].s3Connection.sessionToken","typeLabel":"string"}},"required":["accessKeyId","secretAccessKey"],"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].s3Connection","typeLabel":"object"},"azureConnection":{"type":"object","description":"Azure Data Lake Storage (ADLS Gen2) / Blob Storage connection configuration Supports https://, http://, abfss://, and az:// URL schemes.\n","properties":{"authType":{"type":"string","enum":["service_principal","sas_token"],"description":"Authentication method for Azure Storage","isRequired":true,"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].azureConnection.authType","typeLabel":"enum\u003cstring>"},"sasUrl":{"type":"string","description":"Full SAS URL including token; required for sas_token auth. Supports single file, directory glob (*.ext), or recursive (**) patterns. Example: https://account.blob.core.windows.net/container/path/*.parquet?sp=rl\u0026st=...\n","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].azureConnection.sasUrl","typeLabel":"string"},"tenantId":{"type":"string","description":"Azure AD tenant ID (required for service_principal)","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].azureConnection.tenantId","typeLabel":"string"},"clientId":{"type":"string","description":"Azure AD application (client) ID (required for service_principal)","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].azureConnection.clientId","typeLabel":"string"},"clientSecret":{"type":"string","description":"Azure AD client secret (required for service_principal)","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].azureConnection.clientSecret","typeLabel":"string"},"accountName":{"type":"string","description":"Azure Storage account name (required for service_principal)","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].azureConnection.accountName","typeLabel":"string"},"fileUrl":{"type":"string","description":"Azure file URL to query; required for service_principal auth. Supports single file, directory glob (*.ext), or recursive (**) patterns. Example: https://account.blob.core.windows.net/container/path/**\n","uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].azureConnection.fileUrl","typeLabel":"string"}},"required":["authType"],"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX].azureConnection","typeLabel":"object"}},"uniqueKey":"duckdbConnection.attachedDatabases.items.[INDEX]","typeLabel":"object"},"uniqueKey":"duckdbConnection.attachedDatabases","typeLabel":"object[]"}},"uniqueKey":"duckdbConnection","typeLabel":"object"},"motherduckConnection":{"type":"object","description":"MotherDuck database connection configuration","properties":{"accessToken":{"type":"string","description":"MotherDuck access token","uniqueKey":"motherduckConnection.accessToken","typeLabel":"string"},"database":{"type":"string","description":"MotherDuck database name","uniqueKey":"motherduckConnection.database","typeLabel":"string"}},"uniqueKey":"motherduckConnection","typeLabel":"object"},"ducklakeConnection":{"type":"object","description":"DuckLake lakehouse connection configuration","properties":{"storage":{"type":"object","description":"Data storage connection configuration (S3 or GCS)","properties":{"bucketUrl":{"type":"string","description":"URL of the storage bucket (e.g. s3://my-bucket/path or gs://my-bucket/path)","isRequired":true,"uniqueKey":"ducklakeConnection.storage.bucketUrl","typeLabel":"string"},"s3Connection":{"type":"object","description":"AWS S3 connection configuration for data storage","properties":{"accessKeyId":{"type":"string","description":"AWS access key ID","isRequired":true,"uniqueKey":"ducklakeConnection.storage.s3Connection.accessKeyId","typeLabel":"string"},"secretAccessKey":{"type":"string","description":"AWS secret access key","isRequired":true,"uniqueKey":"ducklakeConnection.storage.s3Connection.secretAccessKey","typeLabel":"string"},"region":{"type":"string","description":"AWS region (e.g., us-east-1)","default":"us-east-1","uniqueKey":"ducklakeConnection.storage.s3Connection.region","typeLabel":"string"},"endpoint":{"type":"string","description":"Custom S3-compatible endpoint URL (optional, for MinIO, etc.)","uniqueKey":"ducklakeConnection.storage.s3Connection.endpoint","typeLabel":"string"},"sessionToken":{"type":"string","description":"AWS session token for temporary credentials (optional)","uniqueKey":"ducklakeConnection.storage.s3Connection.sessionToken","typeLabel":"string"}},"required":["accessKeyId","secretAccessKey"],"uniqueKey":"ducklakeConnection.storage.s3Connection","typeLabel":"object"},"gcsConnection":{"type":"object","description":"Google Cloud Storage connection configuration for data storage","properties":{"keyId":{"type":"string","description":"GCS HMAC access key ID","isRequired":true,"uniqueKey":"ducklakeConnection.storage.gcsConnection.keyId","typeLabel":"string"},"secret":{"type":"string","description":"GCS HMAC secret key","isRequired":true,"uniqueKey":"ducklakeConnection.storage.gcsConnection.secret","typeLabel":"string"}},"required":["keyId","secret"],"uniqueKey":"ducklakeConnection.storage.gcsConnection","typeLabel":"object"}},"required":["bucketUrl"],"isRequired":true,"uniqueKey":"ducklakeConnection.storage","typeLabel":"object"},"catalog":{"type":"object","description":"Catalog metadata connection configuration","properties":{"postgresConnection":{"type":"object","description":"PostgreSQL connection for DuckLake metadata catalog","properties":{"host":{"type":"string","description":"PostgreSQL server hostname or IP address","uniqueKey":"ducklakeConnection.catalog.postgresConnection.host","typeLabel":"string"},"port":{"type":"integer","description":"PostgreSQL server port number","uniqueKey":"ducklakeConnection.catalog.postgresConnection.port","typeLabel":"integer"},"databaseName":{"type":"string","description":"Name of the PostgreSQL database","uniqueKey":"ducklakeConnection.catalog.postgresConnection.databaseName","typeLabel":"string"},"userName":{"type":"string","description":"PostgreSQL username for authentication","uniqueKey":"ducklakeConnection.catalog.postgresConnection.userName","typeLabel":"string"},"password":{"type":"string","description":"PostgreSQL password for authentication","uniqueKey":"ducklakeConnection.catalog.postgresConnection.password","typeLabel":"string"},"connectionString":{"type":"string","description":"Complete PostgreSQL connection string (alternative to individual parameters)","uniqueKey":"ducklakeConnection.catalog.postgresConnection.connectionString","typeLabel":"string"},"sslmode":{"type":"string","enum":["disable","no-verify","verify-ca"],"description":"TLS mode for a connection reached through a `proxy` (SSH bastion). Because the driver connects to a local tunnel endpoint, the cert hostname can't be checked; `verify-ca` validates the server cert chain against the trusted CA bundle (e.g. the baked Amazon RDS roots) without the hostname, `no-verify` encrypts without verifying, and `disable` uses no TLS. The server defaults it to `no-verify` when a proxy is set (so a force-SSL target isn't rejected for plaintext) — a server-applied default, not a schema default. Only valid on a proxied connection — a direct connection uses the deployment PGSSLMODE and rejects this field.","uniqueKey":"ducklakeConnection.catalog.postgresConnection.sslmode","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"ducklakeConnection.catalog.postgresConnection","typeLabel":"object"}},"required":["postgresConnection"],"isRequired":true,"uniqueKey":"ducklakeConnection.catalog","typeLabel":"object"}},"required":["storage","catalog"],"uniqueKey":"ducklakeConnection","typeLabel":"object"},"publisherConnection":{"type":"object","description":"Malloy Publisher proxy connection. Proxies SQL to a remote Publisher dataplane instead of connecting to a warehouse directly. The remote dataplane owns authentication, access control, and read-only enforcement.\n","properties":{"connectionUri":{"type":"string","description":"Full URI of the remote connection, e.g. https://org.data.example.com/api/v0/environments/\u003cenv>/connections/\u003cname>\n","isRequired":true,"uniqueKey":"publisherConnection.connectionUri","typeLabel":"string"},"accessToken":{"type":"string","description":"Bearer token for the remote dataplane (user-scoped, short-lived)","uniqueKey":"publisherConnection.accessToken","typeLabel":"string"}},"required":["connectionUri"],"uniqueKey":"publisherConnection","typeLabel":"object"},"includeTables":{"oneOf":[{"type":"array","description":"The list of tables to include, in the format `{dataset/schema}.{table}`. The first part represents the dataset or schema, and the second part is the table name. The second part can be a literal `*` to include all tables.\n","items":{"type":"string","pattern":"^(?:[a-zA-Z0-9_-]+\\.)?[a-zA-Z0-9_-]+\\.(?:[a-zA-Z0-9_-]+|\\*)$","description":"Table name pattern matching {schema}.{table}, {schema}.*, {catalog}.{schema}.{table}, or {catalog}.{schema}.*","uniqueKey":"includeTables.oneOf.0.items.[INDEX]","typeLabel":"string"},"example":["sales.orders","finance.*"],"uniqueKey":"includeTables.oneOf.0","typeLabel":"string[]"},{"type":"null","description":"The list of tables to include, in the format `{dataset/schema}.{table}`. The first part represents the dataset or schema, and the second part is the table name. The second part can be a literal `*` to include all tables.\n","items":{"type":"string","pattern":"^(?:[a-zA-Z0-9_-]+\\.)?[a-zA-Z0-9_-]+\\.(?:[a-zA-Z0-9_-]+|\\*)$","description":"Table name pattern matching {schema}.{table}, {schema}.*, {catalog}.{schema}.{table}, or {catalog}.{schema}.*"},"example":["sales.orders","finance.*"],"uniqueKey":"includeTables.oneOf.1","typeLabel":"null"}],"uniqueKey":"includeTables","typeLabel":"string[] | null"},"excludeAllTables":{"type":"boolean","description":"Whether to exclude all tables.","default":false,"uniqueKey":"excludeAllTables","typeLabel":"boolean"},"excludeTables":{"oneOf":[{"type":"array","description":"The list of tables to exclude, in the format `{dataset/schema}.{table}`. The first part represents the dataset or schema, and the second part is the table name. The second part can be a literal `*` to exclude all tables.\n","items":{"type":"string","pattern":"^(?:[a-zA-Z0-9_-]+\\.)?[a-zA-Z0-9_-]+\\.(?:[a-zA-Z0-9_-]+|\\*)$","description":"Table name pattern matching {schema}.{table}, {schema}.*, {catalog}.{schema}.{table}, or {catalog}.{schema}.*","uniqueKey":"excludeTables.oneOf.0.items.[INDEX]","typeLabel":"string"},"example":["backup.records","temp_data.*"],"uniqueKey":"excludeTables.oneOf.0","typeLabel":"string[]"},{"type":"null","description":"The list of tables to exclude, in the format `{dataset/schema}.{table}`. The first part represents the dataset or schema, and the second part is the table name. The second part can be a literal `*` to exclude all tables.\n","items":{"type":"string","pattern":"^(?:[a-zA-Z0-9_-]+\\.)?[a-zA-Z0-9_-]+\\.(?:[a-zA-Z0-9_-]+|\\*)$","description":"Table name pattern matching {schema}.{table}, {schema}.*, {catalog}.{schema}.{table}, or {catalog}.{schema}.*"},"example":["backup.records","temp_data.*"],"uniqueKey":"excludeTables.oneOf.1","typeLabel":"null"}],"uniqueKey":"excludeTables","typeLabel":"string[] | null"},"indexingStatus":{"oneOf":[{"type":"string","enum":["UNKNOWN","SCHEMA_INDEXING","INDEXED","SKIPPED","FAILED","RETRY","MODEL_SUGGESTION_INDEXING"],"description":"Current indexing status of the connection. UNKNOWN means indexing is queued and starts automatically on creation (no manual action; \"Start indexing\" is an optional re-trigger). SCHEMA_INDEXING means schema indexing is in progress, MODEL_SUGGESTION_INDEXING means schema indexing finished (schema search is usable) and the model-suggestions pipeline is generating dimensions/measures/joins, INDEXED means both pipelines finished, SKIPPED means the connection is excluded from indexing, FAILED means schema indexing failed, RETRY means the connection was updated while indexing was in progress and will be re-indexed when the current job finishes.\n","uniqueKey":"indexingStatus.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["UNKNOWN","SCHEMA_INDEXING","INDEXED","SKIPPED","FAILED","RETRY","MODEL_SUGGESTION_INDEXING"],"description":"Current indexing status of the connection. UNKNOWN means indexing is queued and starts automatically on creation (no manual action; \"Start indexing\" is an optional re-trigger). SCHEMA_INDEXING means schema indexing is in progress, MODEL_SUGGESTION_INDEXING means schema indexing finished (schema search is usable) and the model-suggestions pipeline is generating dimensions/measures/joins, INDEXED means both pipelines finished, SKIPPED means the connection is excluded from indexing, FAILED means schema indexing failed, RETRY means the connection was updated while indexing was in progress and will be re-indexed when the current job finishes.\n","uniqueKey":"indexingStatus.oneOf.1","typeLabel":"null"}],"uniqueKey":"indexingStatus","typeLabel":"enum\u003cstring> | null"},"indexingStatusLastUpdated":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 timestamp of when the indexing status was last updated","uniqueKey":"indexingStatusLastUpdated.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 timestamp of when the indexing status was last updated","uniqueKey":"indexingStatusLastUpdated.oneOf.1","typeLabel":"null"}],"uniqueKey":"indexingStatusLastUpdated","typeLabel":"string\u003cdate-time> | null"},"indexingProgress":{"oneOf":[{"type":"object","description":"Aggregate per-pipeline indexing progress for a connection, polled from the entity-indexing service while the connection is being indexed. Populated on the single-connection read while indexing is in progress (SCHEMA_INDEXING / MODEL_SUGGESTION_INDEXING); null once INDEXED or when progress is unavailable.\n","properties":{"schemaProgress":{"type":"object","description":"Connection-schema pipeline progress (tables and columns).","properties":{"tablesTotal":{"type":"integer","uniqueKey":"indexingProgress.oneOf.0.schemaProgress.tablesTotal","typeLabel":"integer"},"tablesProcessing":{"type":"integer","uniqueKey":"indexingProgress.oneOf.0.schemaProgress.tablesProcessing","typeLabel":"integer"},"tablesCompleted":{"type":"integer","uniqueKey":"indexingProgress.oneOf.0.schemaProgress.tablesCompleted","typeLabel":"integer"},"tablesFailed":{"type":"integer","uniqueKey":"indexingProgress.oneOf.0.schemaProgress.tablesFailed","typeLabel":"integer"},"columnsTotal":{"oneOf":[{"type":"integer","description":"Sum of column counts over all tables (null if no counts recorded yet).","uniqueKey":"indexingProgress.oneOf.0.schemaProgress.columnsTotal.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Sum of column counts over all tables (null if no counts recorded yet).","uniqueKey":"indexingProgress.oneOf.0.schemaProgress.columnsTotal.oneOf.1","typeLabel":"null"}],"uniqueKey":"indexingProgress.oneOf.0.schemaProgress.columnsTotal","typeLabel":"integer | null"},"columnsCompleted":{"oneOf":[{"type":"integer","description":"Sum of column counts over completed tables.","uniqueKey":"indexingProgress.oneOf.0.schemaProgress.columnsCompleted.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Sum of column counts over completed tables.","uniqueKey":"indexingProgress.oneOf.0.schemaProgress.columnsCompleted.oneOf.1","typeLabel":"null"}],"uniqueKey":"indexingProgress.oneOf.0.schemaProgress.columnsCompleted","typeLabel":"integer | null"}},"uniqueKey":"indexingProgress.oneOf.0.schemaProgress","typeLabel":"object"},"modelSuggestionsProgress":{"type":"object","description":"Connection-model-suggestions pipeline progress.","properties":{"tablesTotal":{"type":"integer","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.tablesTotal","typeLabel":"integer"},"tablesProcessing":{"type":"integer","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.tablesProcessing","typeLabel":"integer"},"tablesCompleted":{"type":"integer","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.tablesCompleted","typeLabel":"integer"},"tablesFailed":{"type":"integer","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.tablesFailed","typeLabel":"integer"},"joinWorkTotal":{"oneOf":[{"type":"integer","description":"Stable denominator for join progress (sum of join-work estimates over planned tables).","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.joinWorkTotal.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Stable denominator for join progress (sum of join-work estimates over planned tables).","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.joinWorkTotal.oneOf.1","typeLabel":"null"}],"uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.joinWorkTotal","typeLabel":"integer | null"},"joinWorkCompleted":{"oneOf":[{"type":"integer","description":"Numerator for join progress (sum of join-work estimates over completed tables).","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.joinWorkCompleted.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Numerator for join progress (sum of join-work estimates over completed tables).","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.joinWorkCompleted.oneOf.1","typeLabel":"null"}],"uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.joinWorkCompleted","typeLabel":"integer | null"},"joinsGenerated":{"oneOf":[{"type":"integer","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.joinsGenerated.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.joinsGenerated.oneOf.1","typeLabel":"null"}],"uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.joinsGenerated","typeLabel":"integer | null"},"dimensionsGenerated":{"oneOf":[{"type":"integer","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.dimensionsGenerated.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.dimensionsGenerated.oneOf.1","typeLabel":"null"}],"uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.dimensionsGenerated","typeLabel":"integer | null"},"measuresGenerated":{"oneOf":[{"type":"integer","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.measuresGenerated.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.measuresGenerated.oneOf.1","typeLabel":"null"}],"uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress.measuresGenerated","typeLabel":"integer | null"}},"uniqueKey":"indexingProgress.oneOf.0.modelSuggestionsProgress","typeLabel":"object"}},"uniqueKey":"indexingProgress.oneOf.0","typeLabel":"object"},{"type":"null","description":"Aggregate per-pipeline indexing progress for a connection, polled from the entity-indexing service while the connection is being indexed. Populated on the single-connection read while indexing is in progress (SCHEMA_INDEXING / MODEL_SUGGESTION_INDEXING); null once INDEXED or when progress is unavailable.\n","properties":{"schemaProgress":{"type":"object","description":"Connection-schema pipeline progress (tables and columns).","properties":{"tablesTotal":{"type":"integer"},"tablesProcessing":{"type":"integer"},"tablesCompleted":{"type":"integer"},"tablesFailed":{"type":"integer"},"columnsTotal":{"oneOf":[{"type":"integer","description":"Sum of column counts over all tables (null if no counts recorded yet)."},{"type":"null","description":"Sum of column counts over all tables (null if no counts recorded yet)."}]},"columnsCompleted":{"oneOf":[{"type":"integer","description":"Sum of column counts over completed tables."},{"type":"null","description":"Sum of column counts over completed tables."}]}}},"modelSuggestionsProgress":{"type":"object","description":"Connection-model-suggestions pipeline progress.","properties":{"tablesTotal":{"type":"integer"},"tablesProcessing":{"type":"integer"},"tablesCompleted":{"type":"integer"},"tablesFailed":{"type":"integer"},"joinWorkTotal":{"oneOf":[{"type":"integer","description":"Stable denominator for join progress (sum of join-work estimates over planned tables)."},{"type":"null","description":"Stable denominator for join progress (sum of join-work estimates over planned tables)."}]},"joinWorkCompleted":{"oneOf":[{"type":"integer","description":"Numerator for join progress (sum of join-work estimates over completed tables)."},{"type":"null","description":"Numerator for join progress (sum of join-work estimates over completed tables)."}]},"joinsGenerated":{"oneOf":[{"type":"integer"},{"type":"null"}]},"dimensionsGenerated":{"oneOf":[{"type":"integer"},{"type":"null"}]},"measuresGenerated":{"oneOf":[{"type":"integer"},{"type":"null"}]}}}},"uniqueKey":"indexingProgress.oneOf.1","typeLabel":"null"}],"uniqueKey":"indexingProgress","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"resource":"\u003cstring>","name":"\u003cstring>","type":"postgres","fingerprint":"\u003cstring>","attributes":{"dialectName":"\u003cstring>","isPool":true,"canPersist":true,"canStream":true},"proxy":{"type":"ssh","ssh":{"host":"\u003cstring>","port":22,"username":"\u003cstring>","privateKey":"\u003cstring>","privateKeyPass":"\u003cstring>","hostKey":"\u003cstring>"}},"postgresConnection":{"host":"\u003cstring>","port":123,"databaseName":"\u003cstring>","userName":"\u003cstring>","password":"\u003cstring>","connectionString":"\u003cstring>","sslmode":"disable"},"bigqueryConnection":{"defaultProjectId":"\u003cstring>","billingProjectId":"\u003cstring>","location":"\u003cstring>","serviceAccountKeyJson":"\u003cstring>","maximumBytesBilled":"\u003cstring>","queryTimeoutMilliseconds":"\u003cstring>"},"snowflakeConnection":{"account":"\u003cstring>","username":"\u003cstring>","password":"\u003cstring>","privateKey":"\u003cstring>","privateKeyPass":"\u003cstring>","warehouse":"\u003cstring>","database":"\u003cstring>","schema":"\u003cstring>","role":"\u003cstring>","responseTimeoutMilliseconds":123},"trinoConnection":{"server":"\u003cstring>","port":123,"catalog":"\u003cstring>","schema":"\u003cstring>","user":"\u003cstring>","password":"\u003cstring>","peakaKey":"\u003cstring>"},"databricksConnection":{"host":"\u003cstring>","path":"\u003cstring>","token":"\u003cstring>","oauthClientId":"\u003cstring>","oauthClientSecret":"\u003cstring>","defaultCatalog":"\u003cstring>","defaultSchema":"\u003cstring>","setupSQL":"\u003cstring>"},"mysqlConnection":{"host":"\u003cstring>","port":123,"database":"\u003cstring>","user":"\u003cstring>","password":"\u003cstring>"},"duckdbConnection":{"attachedDatabases":[{"name":"test_connection, _connection, test_connection_1","type":"bigquery","attributes":{"dialectName":"\u003cstring>","isPool":true,"canPersist":true,"canStream":true},"bigqueryConnection":{"defaultProjectId":"\u003cstring>","billingProjectId":"\u003cstring>","location":"\u003cstring>","serviceAccountKeyJson":"\u003cstring>","maximumBytesBilled":"\u003cstring>","queryTimeoutMilliseconds":"\u003cstring>"},"snowflakeConnection":{"account":"\u003cstring>","username":"\u003cstring>","password":"\u003cstring>","privateKey":"\u003cstring>","privateKeyPass":"\u003cstring>","warehouse":"\u003cstring>","database":"\u003cstring>","schema":"\u003cstring>","role":"\u003cstring>","responseTimeoutMilliseconds":123},"postgresConnection":{"host":"\u003cstring>","port":123,"databaseName":"\u003cstring>","userName":"\u003cstring>","password":"\u003cstring>","connectionString":"\u003cstring>","sslmode":"disable"},"gcsConnection":{"keyId":"\u003cstring>","secret":"\u003cstring>"},"s3Connection":{"accessKeyId":"\u003cstring>","secretAccessKey":"\u003cstring>","region":"us-east-1","endpoint":"\u003cstring>","sessionToken":"\u003cstring>"},"azureConnection":{"authType":"service_principal","sasUrl":"\u003cstring>","tenantId":"\u003cstring>","clientId":"\u003cstring>","clientSecret":"\u003cstring>","accountName":"\u003cstring>","fileUrl":"\u003cstring>"}}]},"motherduckConnection":{"accessToken":"\u003cstring>","database":"\u003cstring>"},"ducklakeConnection":{"storage":{"bucketUrl":"\u003cstring>","s3Connection":{"accessKeyId":"\u003cstring>","secretAccessKey":"\u003cstring>","region":"us-east-1","endpoint":"\u003cstring>","sessionToken":"\u003cstring>"},"gcsConnection":{"keyId":"\u003cstring>","secret":"\u003cstring>"}},"catalog":{"postgresConnection":{"host":"\u003cstring>","port":123,"databaseName":"\u003cstring>","userName":"\u003cstring>","password":"\u003cstring>","connectionString":"\u003cstring>","sslmode":"disable"}}},"publisherConnection":{"connectionUri":"\u003cstring>","accessToken":"\u003cstring>"},"includeTables":["sales.orders","finance.*"],"excludeAllTables":false,"excludeTables":["backup.records","temp_data.*"],"indexingStatus":"UNKNOWN","indexingStatusLastUpdated":"2023-11-07T05:31:56Z","indexingProgress":{"schemaProgress":{"tablesTotal":123,"tablesProcessing":123,"tablesCompleted":123,"tablesFailed":123,"columnsTotal":123,"columnsCompleted":123},"modelSuggestionsProgress":{"tablesTotal":123,"tablesProcessing":123,"tablesCompleted":123,"tablesFailed":123,"joinWorkTotal":123,"joinWorkCompleted":123,"joinsGenerated":123,"dimensionsGenerated":123,"measuresGenerated":123}}}}},"exampleType":"generated"}},"exampleType":"generated"},"9c005a4e-2139-460a-bef4-5ef8e233a38c":{"description":"The request was malformed or can not be performed given the state of the system.","content":{"application/json":{"schema":{"type":"object","x-model-name":"ModelError","description":"Standard error response format used across all API endpoints","properties":{"code":{"type":"string","description":"Machine-readable error code that identifies the specific error condition.\nClients should branch on `code`, not on the human-readable `message` —\nthe message text is informational and may change over time.\n\nGeneric codes (may appear on any endpoint):\n- `VALIDATION_ERROR`: Request body or path/query parameter failed validation\n- `AUTHENTICATION_REQUIRED`: Valid authentication is required\n- `INSUFFICIENT_PERMISSIONS`: User lacks required permissions\n- `RESOURCE_NOT_FOUND`: Requested resource does not exist\n- `CONFLICT`: Generic resource state conflict (used when no more specific code applies)\n- `RATE_LIMIT_EXCEEDED`: API rate limit exceeded\n- `INTERNAL_ERROR`: Unexpected server error\n\nEndpoint-specific codes used by the signup / invites flow:\n- `ORGANIZATION_NAME_TAKEN`: 409 on `POST /organizations` — the requested\n org name (URL slug) is already in use. Retry with a different name.\n- `ORGANIZATION_NAME_RESERVED`: 409 on `POST /organizations` — the requested\n org name collides with a platform subdomain (e.g. `signup`, `admin`,\n `data`, `login`) and cannot be claimed. Retry with a different name.\n- `INVITE_ALREADY_CONSUMED`: 409 on `POST /organizations` — the supplied\n invite token has already been redeemed into an existing organization.\n Retry will not help; the token is dead.\n- `INVITE_ALREADY_CONSUMED_REVOKE`: 409 on `DELETE /invites/{token}` —\n consumed invites are preserved for audit and cannot be revoked.\n- `INVITE_INVALID`: 400 on `POST /organizations` — the supplied invite\n token is malformed or unknown.\n- `INVITE_EXPIRED`: 400 on `POST /organizations` — the supplied invite\n token is past its `expiresAt`.\n- `INVITE_EMAIL_MISMATCH`: 403 on `POST /organizations` — the invite is\n bound to a different email address than the caller.\n","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message providing details about what went wrong","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"f6f3206d-3188-41fa-9235-4c1a2a38bc0d":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","x-model-name":"ModelError","description":"Standard error response format used across all API endpoints","properties":{"code":{"type":"string","description":"Machine-readable error code that identifies the specific error condition.\nClients should branch on `code`, not on the human-readable `message` —\nthe message text is informational and may change over time.\n\nGeneric codes (may appear on any endpoint):\n- `VALIDATION_ERROR`: Request body or path/query parameter failed validation\n- `AUTHENTICATION_REQUIRED`: Valid authentication is required\n- `INSUFFICIENT_PERMISSIONS`: User lacks required permissions\n- `RESOURCE_NOT_FOUND`: Requested resource does not exist\n- `CONFLICT`: Generic resource state conflict (used when no more specific code applies)\n- `RATE_LIMIT_EXCEEDED`: API rate limit exceeded\n- `INTERNAL_ERROR`: Unexpected server error\n\nEndpoint-specific codes used by the signup / invites flow:\n- `ORGANIZATION_NAME_TAKEN`: 409 on `POST /organizations` — the requested\n org name (URL slug) is already in use. Retry with a different name.\n- `ORGANIZATION_NAME_RESERVED`: 409 on `POST /organizations` — the requested\n org name collides with a platform subdomain (e.g. `signup`, `admin`,\n `data`, `login`) and cannot be claimed. Retry with a different name.\n- `INVITE_ALREADY_CONSUMED`: 409 on `POST /organizations` — the supplied\n invite token has already been redeemed into an existing organization.\n Retry will not help; the token is dead.\n- `INVITE_ALREADY_CONSUMED_REVOKE`: 409 on `DELETE /invites/{token}` —\n consumed invites are preserved for audit and cannot be revoked.\n- `INVITE_INVALID`: 400 on `POST /organizations` — the supplied invite\n token is malformed or unknown.\n- `INVITE_EXPIRED`: 400 on `POST /organizations` — the supplied invite\n token is past its `expiresAt`.\n- `INVITE_EMAIL_MISMATCH`: 403 on `POST /organizations` — the invite is\n bound to a different email address than the caller.\n","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message providing details about what went wrong","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"1370946f-0a8a-4c6f-a202-fc89cf3d2d7e":{"description":"Can not perform the operation due to insufficient permissions or the state of the system.","content":{"application/json":{"schema":{"type":"object","x-model-name":"ModelError","description":"Standard error response format used across all API endpoints","properties":{"code":{"type":"string","description":"Machine-readable error code that identifies the specific error condition.\nClients should branch on `code`, not on the human-readable `message` —\nthe message text is informational and may change over time.\n\nGeneric codes (may appear on any endpoint):\n- `VALIDATION_ERROR`: Request body or path/query parameter failed validation\n- `AUTHENTICATION_REQUIRED`: Valid authentication is required\n- `INSUFFICIENT_PERMISSIONS`: User lacks required permissions\n- `RESOURCE_NOT_FOUND`: Requested resource does not exist\n- `CONFLICT`: Generic resource state conflict (used when no more specific code applies)\n- `RATE_LIMIT_EXCEEDED`: API rate limit exceeded\n- `INTERNAL_ERROR`: Unexpected server error\n\nEndpoint-specific codes used by the signup / invites flow:\n- `ORGANIZATION_NAME_TAKEN`: 409 on `POST /organizations` — the requested\n org name (URL slug) is already in use. Retry with a different name.\n- `ORGANIZATION_NAME_RESERVED`: 409 on `POST /organizations` — the requested\n org name collides with a platform subdomain (e.g. `signup`, `admin`,\n `data`, `login`) and cannot be claimed. Retry with a different name.\n- `INVITE_ALREADY_CONSUMED`: 409 on `POST /organizations` — the supplied\n invite token has already been redeemed into an existing organization.\n Retry will not help; the token is dead.\n- `INVITE_ALREADY_CONSUMED_REVOKE`: 409 on `DELETE /invites/{token}` —\n consumed invites are preserved for audit and cannot be revoked.\n- `INVITE_INVALID`: 400 on `POST /organizations` — the supplied invite\n token is malformed or unknown.\n- `INVITE_EXPIRED`: 400 on `POST /organizations` — the supplied invite\n token is past its `expiresAt`.\n- `INVITE_EMAIL_MISMATCH`: 403 on `POST /organizations` — the invite is\n bound to a different email address than the caller.\n","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message providing details about what went wrong","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"625c61d7-0020-470f-98da-d3abcb749f8e":{"description":"The specified resource was not found.","content":{"application/json":{"schema":{"type":"object","x-model-name":"ModelError","description":"Standard error response format used across all API endpoints","properties":{"code":{"type":"string","description":"Machine-readable error code that identifies the specific error condition.\nClients should branch on `code`, not on the human-readable `message` —\nthe message text is informational and may change over time.\n\nGeneric codes (may appear on any endpoint):\n- `VALIDATION_ERROR`: Request body or path/query parameter failed validation\n- `AUTHENTICATION_REQUIRED`: Valid authentication is required\n- `INSUFFICIENT_PERMISSIONS`: User lacks required permissions\n- `RESOURCE_NOT_FOUND`: Requested resource does not exist\n- `CONFLICT`: Generic resource state conflict (used when no more specific code applies)\n- `RATE_LIMIT_EXCEEDED`: API rate limit exceeded\n- `INTERNAL_ERROR`: Unexpected server error\n\nEndpoint-specific codes used by the signup / invites flow:\n- `ORGANIZATION_NAME_TAKEN`: 409 on `POST /organizations` — the requested\n org name (URL slug) is already in use. Retry with a different name.\n- `ORGANIZATION_NAME_RESERVED`: 409 on `POST /organizations` — the requested\n org name collides with a platform subdomain (e.g. `signup`, `admin`,\n `data`, `login`) and cannot be claimed. Retry with a different name.\n- `INVITE_ALREADY_CONSUMED`: 409 on `POST /organizations` — the supplied\n invite token has already been redeemed into an existing organization.\n Retry will not help; the token is dead.\n- `INVITE_ALREADY_CONSUMED_REVOKE`: 409 on `DELETE /invites/{token}` —\n consumed invites are preserved for audit and cannot be revoked.\n- `INVITE_INVALID`: 400 on `POST /organizations` — the supplied invite\n token is malformed or unknown.\n- `INVITE_EXPIRED`: 400 on `POST /organizations` — the supplied invite\n token is past its `expiresAt`.\n- `INVITE_EMAIL_MISMATCH`: 403 on `POST /organizations` — the invite is\n bound to a different email address than the caller.\n","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message providing details about what went wrong","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"bc5d6729-cb95-40f3-897f-1d2d6b543758":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[]}}},"servers":{"2b8a1621-5516-4e59-845f-abd2159b4190":{"url":"https://{organization}.admin.credibledata.com/api/v0/","description":"Production API server","variables":{"organization":{"default":"demo","description":"Your organization subdomain"}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","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":"controlplane-public-api-doc.yaml"},"subdomain":"ms2","siteName":"Credible Data","title":"Update database connection - Credible Data","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-22T15:21:41.088Z","originalFileLocation":"admin-api-reference/connections/update-database-connection.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=\"Updates the configuration of an existing database connection, including credentials, settings, and connection parameters. Update semantics: submit the complete connection. Every field is replaced with what you send — to clear an optional parameter (e.g. proxy), omit it. The sole exception is write-only secrets (passwords, tokens, SSH private keys): these are never returned by reads, so leaving a secret field blank keeps its stored value rather than clearing it. Authorization: Requires environment admin permissions. Security: Credentials are encrypted and stored securely. Validation: Tests connection before saving changes.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Credible Data\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ms2/NM28tWzZJEULG7Pw/_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/ms2/NM28tWzZJEULG7Pw/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ms2/NM28tWzZJEULG7Pw/_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/ms2/NM28tWzZJEULG7Pw/_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/ms2/NM28tWzZJEULG7Pw/_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/ms2/NM28tWzZJEULG7Pw/_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/ms2/NM28tWzZJEULG7Pw/_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/ms2/NM28tWzZJEULG7Pw/_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/ms2/NM28tWzZJEULG7Pw/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update database connection - Credible Data\">\u003cmeta data-mint-head property=\"og:description\" content=\"Updates the configuration of an existing database connection, including credentials, settings, and connection parameters. Update semantics: submit the complete connection. Every field is replaced with what you send — to clear an optional parameter (e.g. proxy), omit it. The sole exception is write-only secrets (passwords, tokens, SSH private keys): these are never returned by reads, so leaving a secret field blank keeps its stored value rather than clearing it. Authorization: Requires environment admin permissions. Security: Credentials are encrypted and stored securely. Validation: Tests connection before saving changes.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Credible Data\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.credibledata.com/admin-api-reference/connections/update-database-connection\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ms2.mintlify.site/_mintlify/api/og/v2?division=connections\u0026amp;title=Update+database+connection\u0026amp;description=Updates+the+configuration+of+an+existing+database+connection%2C+including+credentials%2C%0Asettings%2C+and+connection+parameters.%0A%0A**Update+semantics**%3A+submit+the+comp\u0026amp;theme=e50db41faf46dc5fd93bc9e7\u0026amp;signature=9a523e39bcfd3a4e52ff015858c66c2bc6ccf4c9adfe40fca0bee1ba7e8ecc25\">\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 database connection - Credible Data\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Updates the configuration of an existing database connection, including credentials, settings, and connection parameters. Update semantics: submit the complete connection. Every field is replaced with what you send — to clear an optional parameter (e.g. proxy), omit it. The sole exception is write-only secrets (passwords, tokens, SSH private keys): these are never returned by reads, so leaving a secret field blank keeps its stored value rather than clearing it. Authorization: Requires environment admin permissions. Security: Credentials are encrypted and stored securely. Validation: Tests connection before saving changes.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ms2.mintlify.site/_mintlify/api/og/v2?division=connections\u0026amp;title=Update+database+connection\u0026amp;description=Updates+the+configuration+of+an+existing+database+connection%2C+including+credentials%2C%0Asettings%2C+and+connection+parameters.%0A%0A**Update+semantics**%3A+submit+the+comp\u0026amp;theme=e50db41faf46dc5fd93bc9e7\u0026amp;signature=9a523e39bcfd3a4e52ff015858c66c2bc6ccf4c9adfe40fca0bee1ba7e8ecc25\">\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/ms2/NM28tWzZJEULG7Pw/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Credible Data\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#94793A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.credibledata.com/admin-api-reference/connections/update-database-connection\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/admin-api-reference/connections/update-database-connection.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.credibledata.com/#organization\",\"name\":\"Credible Data\",\"url\":\"https://docs.credibledata.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ms2/1t8kfeYj1pwIH2EO/logo/light.svg?fit=max\u0026auto=format\u0026n=1t8kfeYj1pwIH2EO\u0026q=85\u0026s=9c2da46c5a0f1db44806cebf2c34c165\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.credibledata.com#website\",\"name\":\"Credible Data\",\"url\":\"https://docs.credibledata.com\",\"publisher\":{\"@id\":\"https://docs.credibledata.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.credibledata.com/admin-api-reference/connections/update-database-connection#webpage\",\"url\":\"https://docs.credibledata.com/admin-api-reference/connections/update-database-connection\",\"name\":\"Update database connection\",\"description\":\"Updates the configuration of an existing database connection, including credentials, settings, and connection parameters. Update semantics: submit the complete connection. Every field is replaced with what you send — to clear an optional parameter (e.g. proxy), omit it. The sole exception is write-only secrets (passwords, tokens, SSH private keys): these are never returned by reads, so leaving a secret field blank keeps its stored value rather than clearing it. Authorization: Requires environment admin permissions. Security: Credentials are encrypted and stored securely. Validation: Tests connection before saving changes.\",\"dateModified\":\"2026-07-22T15:21:41.088Z\",\"isPartOf\":{\"@id\":\"https://docs.credibledata.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.credibledata.com/admin-api-reference/connections/update-database-connection#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.credibledata.com/admin-api-reference/connections/update-database-connection#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"connections\",\"item\":\"https://docs.credibledata.com/admin-api-reference/connections/list-database-connections\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update database connection\",\"item\":\"https://docs.credibledata.com/admin-api-reference/connections/update-database-connection\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.credibledata.com/admin-api-reference/connections/update-database-connection#apireference\",\"headline\":\"Update database connection\",\"name\":\"Update database connection\",\"description\":\"Updates the configuration of an existing database connection, including credentials, settings, and connection parameters. Update semantics: submit the complete connection. Every field is replaced with what you send — to clear an optional parameter (e.g. proxy), omit it. The sole exception is write-only secrets (passwords, tokens, SSH private keys): these are never returned by reads, so leaving a secret field blank keeps its stored value rather than clearing it. Authorization: Requires environment admin permissions. Security: Credentials are encrypted and stored securely. Validation: Tests connection before saving changes.\",\"url\":\"https://docs.credibledata.com/admin-api-reference/connections/update-database-connection\",\"mainEntityOfPage\":{\"@id\":\"https://docs.credibledata.com/admin-api-reference/connections/update-database-connection#webpage\"},\"dateModified\":\"2026-07-22T15:21:41.088Z\",\"publisher\":{\"@id\":\"https://docs.credibledata.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.credibledata.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Credible Data\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Credible Data\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/admin-api-reference/connections/update-database-connection.md","siteName":"Credible Data","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"Admin API","groups":[{"group":"Overview","pages":[{"title":"Admin API Reference","href":"/admin-api-reference"}]},{"group":"organizations","pages":[{"title":"List all organizations","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations","href":"/admin-api-reference/organizations/list-all-organizations"},{"title":"Create a new organization","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml post /organizations","href":"/admin-api-reference/organizations/create-a-new-organization"},{"title":"Get organization details","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}","href":"/admin-api-reference/organizations/get-organization-details"},{"title":"Delete an organization","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml delete /organizations/{organizationName}","href":"/admin-api-reference/organizations/delete-an-organization"},{"title":"Update organization details","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml patch /organizations/{organizationName}","href":"/admin-api-reference/organizations/update-organization-details"},{"title":"List users in organization","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/users","href":"/admin-api-reference/organizations/list-users-in-organization"},{"title":"Get user within organization context","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/users/{userName}","href":"/admin-api-reference/organizations/get-user-within-organization-context"}]},{"group":"organizationPermissions","pages":[{"title":"List organization permissions","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/permissions","href":"/admin-api-reference/organizationpermissions/list-organization-permissions"},{"title":"Create organization permission","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml post /organizations/{organizationName}/permissions","href":"/admin-api-reference/organizationpermissions/create-organization-permission"},{"title":"Get organization permission","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/permissions/{userGroupId}","href":"/admin-api-reference/organizationpermissions/get-organization-permission"},{"title":"Delete organization permission","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml delete /organizations/{organizationName}/permissions/{userGroupId}","href":"/admin-api-reference/organizationpermissions/delete-organization-permission"},{"title":"Update organization permission","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml patch /organizations/{organizationName}/permissions/{userGroupId}","href":"/admin-api-reference/organizationpermissions/update-organization-permission"}]},{"group":"packages","pages":[{"title":"List accessible packages by organization","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/packages","href":"/admin-api-reference/packages/list-accessible-packages-by-organization"},{"title":"List packages in environment","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/environments/{environmentName}/packages","href":"/admin-api-reference/packages/list-packages-in-environment"},{"title":"Get package details","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/environments/{environmentName}/packages/{packageName}","href":"/admin-api-reference/packages/get-package-details"},{"title":"Create or update package","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml post /organizations/{organizationName}/environments/{environmentName}/packages/{packageName}","href":"/admin-api-reference/packages/create-or-update-package"},{"title":"Delete package","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml delete /organizations/{organizationName}/environments/{environmentName}/packages/{packageName}","href":"/admin-api-reference/packages/delete-package"},{"title":"Update package metadata","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml patch /organizations/{organizationName}/environments/{environmentName}/packages/{packageName}","href":"/admin-api-reference/packages/update-package-metadata"},{"title":"Get package version source","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/environments/{environmentName}/packages/{packageName}/source","href":"/admin-api-reference/packages/get-package-version-source"}]},{"group":"environments","pages":[{"title":"List environments in organization","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/environments","href":"/admin-api-reference/environments/list-environments-in-organization"},{"title":"Create a new environment","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml post /organizations/{organizationName}/environments","href":"/admin-api-reference/environments/create-a-new-environment"},{"title":"Get environment details","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/environments/{environmentName}","href":"/admin-api-reference/environments/get-environment-details"},{"title":"Delete environment","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml delete /organizations/{organizationName}/environments/{environmentName}","href":"/admin-api-reference/environments/delete-environment"},{"title":"Update environment details","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml patch /organizations/{organizationName}/environments/{environmentName}","href":"/admin-api-reference/environments/update-environment-details"}]},{"group":"environmentPermissions","pages":[{"title":"List environment permissions","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/environments/{environmentName}/permissions","href":"/admin-api-reference/environmentpermissions/list-environment-permissions"},{"title":"Create environment permission","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml post /organizations/{organizationName}/environments/{environmentName}/permissions","href":"/admin-api-reference/environmentpermissions/create-environment-permission"},{"title":"Get environment permission","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/environments/{environmentName}/permissions/{userGroupId}","href":"/admin-api-reference/environmentpermissions/get-environment-permission"},{"title":"Delete environment permission","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml delete /organizations/{organizationName}/environments/{environmentName}/permissions/{userGroupId}","href":"/admin-api-reference/environmentpermissions/delete-environment-permission"},{"title":"Update environment permission","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml patch /organizations/{organizationName}/environments/{environmentName}/permissions/{userGroupId}","href":"/admin-api-reference/environmentpermissions/update-environment-permission"}]},{"group":"packagePermissions","pages":[{"title":"List package permissions","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/environments/{environmentName}/packages/{packageName}/permissions","href":"/admin-api-reference/packagepermissions/list-package-permissions"},{"title":"Create package permission","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml post /organizations/{organizationName}/environments/{environmentName}/packages/{packageName}/permissions","href":"/admin-api-reference/packagepermissions/create-package-permission"},{"title":"Get package permission","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/environments/{environmentName}/packages/{packageName}/permissions/{userGroupId}","href":"/admin-api-reference/packagepermissions/get-package-permission"},{"title":"Delete package permission","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml delete /organizations/{organizationName}/environments/{environmentName}/packages/{packageName}/permissions/{userGroupId}","href":"/admin-api-reference/packagepermissions/delete-package-permission"},{"title":"Update package permission","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml patch /organizations/{organizationName}/environments/{environmentName}/packages/{packageName}/permissions/{userGroupId}","href":"/admin-api-reference/packagepermissions/update-package-permission"}]},{"group":"versions","pages":[{"title":"List package versions","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/environments/{environmentName}/packages/{packageName}/versions","href":"/admin-api-reference/versions/list-package-versions"},{"title":"Get version details","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/environments/{environmentName}/packages/{packageName}/versions/{versionId}","href":"/admin-api-reference/versions/get-version-details"},{"title":"Update version status","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml patch /organizations/{organizationName}/environments/{environmentName}/packages/{packageName}/versions/{versionId}","href":"/admin-api-reference/versions/update-version-status"}]},{"group":"connections","pages":[{"title":"List database connections","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/environments/{environmentName}/connections","href":"/admin-api-reference/connections/list-database-connections"},{"title":"Create database connection","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml post /organizations/{organizationName}/environments/{environmentName}/connections","href":"/admin-api-reference/connections/create-database-connection"},{"title":"Get connection details","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/environments/{environmentName}/connections/{connectionName}","href":"/admin-api-reference/connections/get-connection-details"},{"title":"Delete database connection","description":"Permanently deletes a database connection and removes all associated credentials.\nThis operation is irreversible.\n\n**Authorization**: Requires environment admin permissions.\n**Warning**: This operation will remove access to the associated database.\n**Side Effects**: Removes all connection configuration and credentials.\n","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml delete /organizations/{organizationName}/environments/{environmentName}/connections/{connectionName}","href":"/admin-api-reference/connections/delete-database-connection"},{"title":"Update database connection","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml patch /organizations/{organizationName}/environments/{environmentName}/connections/{connectionName}","href":"/admin-api-reference/connections/update-database-connection"}]},{"group":"materializations","pages":[{"title":"List materializations for a version","description":"Lists the per-source materializations bound to a package version\n(Malloy Persistence v0), most recent first. Each materialization is the\nlineage anchor for one persist source of the version — identified within\nthe version by its (`sourceName`, `modelFilePath`) — and points at the\nphysical table currently serving that source.\n\nIn v0 materializations are addressed under the version that binds them.\nPackage-level (cross-version) materialization resources will be added\nonce versions can share materialized tables.\n\n**Authorization**: Requires read access to the package.\n","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/environments/{environmentName}/packages/{packageName}/versions/{versionId}/materializations","href":"/admin-api-reference/materializations/list-materializations-for-a-version"},{"title":"Get a materialization","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/environments/{environmentName}/packages/{packageName}/versions/{versionId}/materializations/{materializationId}","href":"/admin-api-reference/materializations/get-a-materialization"}]},{"group":"indexes","pages":[{"title":"List indexes for a version","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/environments/{environmentName}/packages/{packageName}/versions/{versionId}/indexes","href":"/admin-api-reference/indexes/list-indexes-for-a-version"},{"title":"Get an index","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/environments/{environmentName}/packages/{packageName}/versions/{versionId}/indexes/{indexId}","href":"/admin-api-reference/indexes/get-an-index"}]},{"group":"runs","pages":[{"title":"List runs for a package","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/environments/{environmentName}/packages/{packageName}/runs","href":"/admin-api-reference/runs/list-runs-for-a-package"},{"title":"Create a run (rebuild a version, or a single scoped unit)","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml post /organizations/{organizationName}/environments/{environmentName}/packages/{packageName}/runs","href":"/admin-api-reference/runs/create-a-run-rebuild-a-version-or-a-single-scoped-unit"},{"title":"Get a run","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/environments/{environmentName}/packages/{packageName}/runs/{runId}","href":"/admin-api-reference/runs/get-a-run"},{"title":"Perform an action on a run","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml post /organizations/{organizationName}/environments/{environmentName}/packages/{packageName}/runs/{runId}","href":"/admin-api-reference/runs/perform-an-action-on-a-run"}]},{"group":"workspaces","pages":[{"title":"List workspaces in organization","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/workspaces","href":"/admin-api-reference/workspaces/list-workspaces-in-organization"},{"title":"Create a new workspace","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml post /organizations/{organizationName}/workspaces","href":"/admin-api-reference/workspaces/create-a-new-workspace"},{"title":"Get or create personal workspace","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/workspaces/personal","href":"/admin-api-reference/workspaces/get-or-create-personal-workspace"},{"title":"Get workspace details","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/workspaces/{workspaceName}","href":"/admin-api-reference/workspaces/get-workspace-details"},{"title":"Delete workspace","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml delete /organizations/{organizationName}/workspaces/{workspaceName}","href":"/admin-api-reference/workspaces/delete-workspace"},{"title":"Update workspace details","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml patch /organizations/{organizationName}/workspaces/{workspaceName}","href":"/admin-api-reference/workspaces/update-workspace-details"}]},{"group":"workspacePermissions","pages":[{"title":"List workspace permissions","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/workspaces/{workspaceName}/permissions","href":"/admin-api-reference/workspacepermissions/list-workspace-permissions"},{"title":"Create workspace permission","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml post /organizations/{organizationName}/workspaces/{workspaceName}/permissions","href":"/admin-api-reference/workspacepermissions/create-workspace-permission"},{"title":"Adds package access to a workspace","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml post /organizations/{organizationName}/workspaces/{workspaceName}/packages","href":"/admin-api-reference/workspacepermissions/adds-package-access-to-a-workspace"},{"title":"Removes package access from a workspace","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml delete /organizations/{organizationName}/workspaces/{workspaceName}/packages","href":"/admin-api-reference/workspacepermissions/removes-package-access-from-a-workspace"},{"title":"Get workspace permission","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/workspaces/{workspaceName}/permissions/{userGroupId}","href":"/admin-api-reference/workspacepermissions/get-workspace-permission"},{"title":"Delete workspace permission","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml delete /organizations/{organizationName}/workspaces/{workspaceName}/permissions/{userGroupId}","href":"/admin-api-reference/workspacepermissions/delete-workspace-permission"},{"title":"Update workspace permission","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml patch /organizations/{organizationName}/workspaces/{workspaceName}/permissions/{userGroupId}","href":"/admin-api-reference/workspacepermissions/update-workspace-permission"}]},{"group":"documents","pages":[{"title":"List workspace documents","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/workspaces/{workspaceName}/documents","href":"/admin-api-reference/documents/list-workspace-documents"},{"title":"Create document","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml post /organizations/{organizationName}/workspaces/{workspaceName}/documents","href":"/admin-api-reference/documents/create-document"},{"title":"Get document details","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/workspaces/{workspaceName}/documents/{documentPath}","href":"/admin-api-reference/documents/get-document-details"},{"title":"Delete document","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml delete /organizations/{organizationName}/workspaces/{workspaceName}/documents/{documentPath}","href":"/admin-api-reference/documents/delete-document"},{"title":"Update document","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml patch /organizations/{organizationName}/workspaces/{workspaceName}/documents/{documentPath}","href":"/admin-api-reference/documents/update-document"}]},{"group":"documentPermissions","pages":[{"title":"List document permissions","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/workspaces/{workspaceName}/documents/{documentPath}/permissions","href":"/admin-api-reference/documentpermissions/list-document-permissions"},{"title":"Create document permission","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml post /organizations/{organizationName}/workspaces/{workspaceName}/documents/{documentPath}/permissions","href":"/admin-api-reference/documentpermissions/create-document-permission"},{"title":"Get document permission","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/workspaces/{workspaceName}/documents/{documentPath}/permissions/{userGroupId}","href":"/admin-api-reference/documentpermissions/get-document-permission"},{"title":"Delete document permission","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml delete /organizations/{organizationName}/workspaces/{workspaceName}/documents/{documentPath}/permissions/{userGroupId}","href":"/admin-api-reference/documentpermissions/delete-document-permission"},{"title":"Update document permission","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml patch /organizations/{organizationName}/workspaces/{workspaceName}/documents/{documentPath}/permissions/{userGroupId}","href":"/admin-api-reference/documentpermissions/update-document-permission"}]},{"group":"groups","pages":[{"title":"List organization groups","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/groups","href":"/admin-api-reference/groups/list-organization-groups"},{"title":"Create user group","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml post /organizations/{organizationName}/groups","href":"/admin-api-reference/groups/create-user-group"},{"title":"Get group details","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/groups/{groupName}","href":"/admin-api-reference/groups/get-group-details"},{"title":"Delete user group","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml delete /organizations/{organizationName}/groups/{groupName}","href":"/admin-api-reference/groups/delete-user-group"},{"title":"Update group configuration","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml patch /organizations/{organizationName}/groups/{groupName}","href":"/admin-api-reference/groups/update-group-configuration"},{"title":"Get group members","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/groups/{groupName}/members","href":"/admin-api-reference/groups/get-group-members"},{"title":"Add group members","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml post /organizations/{organizationName}/groups/{groupName}/members","href":"/admin-api-reference/groups/add-group-members"},{"title":"Remove group members","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml delete /organizations/{organizationName}/groups/{groupName}/members","href":"/admin-api-reference/groups/remove-group-members"},{"title":"Update group member status","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml patch /organizations/{organizationName}/groups/{groupName}/members/{memberName}","href":"/admin-api-reference/groups/update-group-member-status"},{"title":"List group tokens","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/groups/{groupName}/tokens","href":"/admin-api-reference/groups/list-group-tokens"},{"title":"Create a new group token","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml post /organizations/{organizationName}/groups/{groupName}/tokens","href":"/admin-api-reference/groups/create-a-new-group-token"},{"title":"Delete a group token","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml delete /organizations/{organizationName}/groups/{groupName}/tokens/{tokenName}","href":"/admin-api-reference/groups/delete-a-group-token"}]},{"group":"bookmarks","pages":[{"title":"List bookmarks for current user","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/bookmarks","href":"/admin-api-reference/bookmarks/list-bookmarks-for-current-user"},{"title":"Create a new bookmark","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml post /organizations/{organizationName}/bookmarks","href":"/admin-api-reference/bookmarks/create-a-new-bookmark"},{"title":"Get a specific bookmark","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/bookmarks/{bookmarkType}","href":"/admin-api-reference/bookmarks/get-a-specific-bookmark"},{"title":"Delete a bookmark","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml delete /organizations/{organizationName}/bookmarks/{bookmarkType}","href":"/admin-api-reference/bookmarks/delete-a-bookmark"}]},{"group":"attributes","pages":[{"title":"List trusted attributes and their assigned values","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/attributes","href":"/admin-api-reference/attributes/list-trusted-attributes-and-their-assigned-values"},{"title":"Get a trusted attribute and its assigned values","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /organizations/{organizationName}/attributes/{attributeName}","href":"/admin-api-reference/attributes/get-a-trusted-attribute-and-its-assigned-values"},{"title":"Set a user-scoped attribute value","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml put /organizations/{organizationName}/users/{userName}/attributes/{attributeName}","href":"/admin-api-reference/attributes/set-a-user-scoped-attribute-value"},{"title":"Delete a user-scoped attribute value","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml delete /organizations/{organizationName}/users/{userName}/attributes/{attributeName}","href":"/admin-api-reference/attributes/delete-a-user-scoped-attribute-value"},{"title":"Set a group-scoped attribute value","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml put /organizations/{organizationName}/groups/{groupName}/attributes/{attributeName}","href":"/admin-api-reference/attributes/set-a-group-scoped-attribute-value"},{"title":"Delete a group-scoped attribute value","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml delete /organizations/{organizationName}/groups/{groupName}/attributes/{attributeName}","href":"/admin-api-reference/attributes/delete-a-group-scoped-attribute-value"}]},{"group":"users","pages":[{"title":"Create user account","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml post /users","href":"/admin-api-reference/users/create-user-account"},{"title":"Get user details","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /users/{userName}","href":"/admin-api-reference/users/get-user-details"},{"title":"Delete user account","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml delete /users/{userName}","href":"/admin-api-reference/users/delete-user-account"},{"title":"Update user account","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml patch /users/{userName}","href":"/admin-api-reference/users/update-user-account"}]},{"group":"demo","pages":[{"title":"Create demo environment","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml post /demo/create_environment","href":"/admin-api-reference/demo/create-demo-environment"},{"title":"Create self-service organization","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml post /demo/create_self_service_organization","href":"/admin-api-reference/demo/create-self-service-organization"}]},{"group":"invites","pages":[{"title":"List invite tokens","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /invites","href":"/admin-api-reference/invites/list-invite-tokens"},{"title":"Create an organization-creation invite token","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml post /invites","href":"/admin-api-reference/invites/create-an-organization-creation-invite-token"},{"title":"Get a single invite by its token","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml get /invites/{token}","href":"/admin-api-reference/invites/get-a-single-invite-by-its-token"},{"title":"Revoke an unconsumed invite","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml delete /invites/{token}","href":"/admin-api-reference/invites/revoke-an-unconsumed-invite"}]},{"group":"permissions","pages":[{"title":"Create system permission","deprecated":null,"version":null,"openapi":"/controlplane-public-api-doc.yaml post /permissions","href":"/admin-api-reference/permissions/create-system-permission"}]}]},{"tab":"Data API","pages":[{"title":"Data API","href":"/data-api-reference"}]},{"tab":"Retrieval API","pages":[{"title":"Retrieval API","href":"/retrieval-api-reference"}]},{"tab":"Coding API","pages":[{"title":"Coding API","href":"/coding-api-reference"}]}]},"basePath":"","title":"Update database connection - Credible Data","deploymentId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","buildId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CyAr6xD1.js","snippetPresets-BSqedH3o.js","utils-DXfQSZU_.js","style-to-object-BY3JEAdk.js","utils-DiMyLQC-.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-DvPCxzT8.js","conditional-requirements-CFM0id0Q.js","cloneDeep-dx7iM-7h.js","_Uint8Array-DpQIK2Aw.js","isObject-FP1Yky1u.js","ApiExamples-B2sy5qvP.js","usePlaygroundInputsStore-BDc5FJKB.js","shallow-DxZq5uhD.js","isEqual-Bl_IuwU4.js","CodeSnippets-D1UoeS-I.js","CodeSnippet-C87it1Zg.js","use-playground-group-access-DyECiQ2v.js","Page-wigwbDGe.js","api-description-markdown-DHZIfeWZ.js","DynamicMarkdown-D8KwOkxZ.js","SectionHeading-uish4Ed2.js","MethodPill-DR7O5MCP.js","getPastedJson-D2WQib0m.js","Check2Icon-CUuzblYS.js","axios-CsQoIw0U.js","Markdown-K6_WYP3x.js","AssistantPageLink-BrppVW5v.js","dist-OmDnwAnM.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}