Update a directconnection

Requires the api:write scope.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params

A public direct connection asset (metrics-service-backed).

const
enum
Allowed:
string
string
required

Always required; identifies the connector type, e.g. 'postgresql', 'snowflake', 'redshift', 'bigquery', 'databricks', 'mariadb', 'aurora', 'azuresql', 'azuresynapse', 'dbt', 'cube', 'sample'. A dbt semantic-layer connection reports 'dbt', which is also how you create one. Each connector defines its own connectionFields parameter names.

string

The user who owns the connection. Listed connections are the ones you own plus the ones shared across the account.

boolean
required

Whether the connection is shared with every user in the account.

connectionFields
object

Connector-specific configuration; field names vary per dataBaseType (e.g. postgresql uses user/_host/_port/_database/currentSchema). Populated only for a connection you own (and for the built-in sample connection) - an empty object for one shared across the account. Within your own connection, secret fields (password, private keys) are omitted rather than masked - but an update preserves any secret whose key it does not send, so a spec read from here can be sent straight back to PUT. Send a secret only to change it; sending it empty clears it.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json