sources / Update data source configuration

sources

Update data source configuration

Update configuration for any type of data source. The required fields depend on the connection type.

PATCH /api/v1/sources/{id}/update-config/

Headers

Authorizationrequired

any - API key authentication using Bearer scheme

Path Parameters

idrequired

string

pkrequired

integer - ID of the source to update

Request Body

account_name

string - Display name

hostname

string - Server hostname (for database connections)

port

integer - Port number

username

string - Username

password

string - Password

database_name

string - Database name

connection_string

string - Connection string

service_account_key

any - Service account key (BigQuery)

token

string - Authentication token

host

string - Host (ClickHouse)

database

string - Database (ClickHouse)

account

string - Account (Snowflake)

user

string - User (Snowflake)

public_key

string - Public key (Snowflake)

selected_schemas

array - List of schema names to include (PostgreSQL, MySQL, etc.)

Response

id

integer - Connection ID

account_name

string - Connection name

type

string - Connection type