Skip to main content

Set the connection

PUT 

/projects/:project_id/connection

Replaces the workspace's data warehouse connection. The connection is saved without testing it; index a table to check that Mitzu can reach the warehouse.

Credentials are write-only. Leave password, private_key and oauth_client_secret out to keep the stored secret. This only works while the type, host, port, user name and authentication method stay the same; pointing the connection at another server needs the secret again.

The API key acts as an Org Admin for this request. A request for a workspace of another organization returns 404.

Request​

Responses​

OK