Update connection
Changed onUpdate connection settings, including the non-secret configuration fields returned by GET, plus base role, environment user attributes, and credentials. Round-trips with GET so a connection can be managed as code. dialect cannot be changed.
Credential fields (write-only, never returned):
- passwordUnencrypted: Update password (all dialects) or service account JSON (BigQuery)
- privateKey: Add/rotate RSA keypair for Snowflake keypair authentication
- oauthClientSecretUnencrypted: Update OAuth client secret (Snowflake, Databricks)
Changing host or port is subject to the same SSH tunnel and PrivateLink restrictions as connection create: you may only point a connection at an SSH tunnel already provisioned for your organization, and a PrivateLink host must belong to your organization. Requests that violate this return 400.
Note: Credentials are encrypted at rest and never returned in API responses.
Request
- Base URLhttps://omniapp.co (the document declares no server; this is the origin it was published from)
- URLhttps://omniapp.co/api/v1/connections/{id}
- AuthHTTP bearer
Path parameters
Connection ID
Request body
Example request
{
"acceptsLicense": true,
"alwaysScopeViewNames": true,
"authenticationType": "snowflake-password",
"awsRoleArn": "arn:aws:iam::123456789012:role/OmniAthenaRole",
"baseRole": "QUERIER",
"database": "analytics_db",
"defaultSchema": "public",
"environmentUserAttribute": {
"attributeName": "region",
"defaultValues": [
"us-east",
"us-west"
]
},
"externalOauthAuthorizationUrl": "https://oauth.example.com/authorize",
"externalOauthTokenUrl": "https://oauth.example.com/token",
"host": "myaccount",
"hostOverride": "myaccount.snowflakecomputing.com",
"inferRelationshipsFromColumnNames": true,
"maxBillingBytes": "1000000000",
"name": "Production Snowflake",
"port": 5432,
"queryTimeoutSeconds": 900,
"queryTimezone": "NONE",
"region": "us-east-1",
"scratchSchema": "omni_scratch",
"systemTimezone": "UTC",
"username": "analytics_user",
"warehouse": "COMPUTE_WH"
}Response
Connection updated successfully
Example response
{
"message": "Updated connection default role.",
"success": true
}Changes
- info
added the new optional request property
- info
- info
added the new optional request property
- info