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
- 200
- 400
- 401
- 403
- 404
- 405
- 429
OK
The request is invalid.
The API key header is missing, or the API key is invalid, disabled or expired.
The API key is not allowed to do this, for example a key that isn't allowed to manage members.
The workspace or resource was not found.
The requested HTTP method is not allowed.
Too many requests sent with the same API key. Up to 10 requests can be sent within 1 second.