Skip to main content
PATCH
Update an existing database connection

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentName
string
required

Name of the environment Standard identifier pattern for resource names

Pattern: ^[a-zA-Z0-9_-]+$
connectionName
string
required

Name of the connection to update Standard identifier pattern for resource names

Pattern: ^[a-zA-Z0-9_-]+$

Body

application/json
postgresConnection
object

PostgreSQL database connection configuration

mysqlConnection
object

MySQL database connection configuration

bigqueryConnection
object

Google BigQuery database connection configuration

snowflakeConnection
object

Snowflake database connection configuration

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.

motherduckConnection
object

MotherDuck database connection configuration

trinoConnection
object

Trino database connection configuration

databricksConnection
object

Databricks SQL warehouse connection configuration

ducklakeConnection
object

DuckLake lakehouse connection configuration

Response

Connection updated successfully

message
string