Reference / Sources and connections

Change a connection’s settings

update_connectionocmgr connection updatePATCH /v1/connections/{id}ADMIN

For CSV, config.browserUpload enables uploads and config.columns accepts the reviewed propose_csv_mapping columns. Change the settings of a connection that already exists — the workspace id a Slack connection is pinned to, the channels it reads, whether it reads history at all. The config you send is merged into the stored one, so send only what you are changing; pass replace to store it whole instead. The connector’s own schema validates the result, so a setting it will choke on at ingest time is refused here instead. Admin scope is required because endpoints determine where stored credentials are sent. Optional credentials merge into the encrypted vault record; a null value removes that stored input without changing other credentials or ingestion history. Removing a stored input may restore its environment fallback; it does not revoke the token at the provider. Responses return names only. A token inside config is refused. This is how you act on connection verify’s hints, which name this tool and its arguments.

Parameters

status"active" | "paused"

Pause or resume ingestion without removing history or credentials.

credentialsobject

Named credential values to merge into the encrypted vault record; null removes one stored input, leaving other inputs intact. Values are never returned.

idstring (uuid)REQUIRED

The connection to change, as connection list and connection verify report it.

configobjectdefault {}

The settings to change, as an object. For CSV uploads set browserUpload:true and columns to the reviewed propose_csv_mapping columns array. Merged into the stored config by default, so send only the keys you are changing — {"teamId": "T0123"} sets the workspace id and leaves the channel list alone. A null value removes a key. Never put a token or any other credential in here: pass them in credentials for encrypted vault storage. A config carrying one is refused rather than quietly dropped.

replaceboolean

Store this config instead of merging it, dropping every key you did not send. Use it to reset a connection to a known state; the default merge is what "change one setting" means.

expectedConfigobject

Apply the update only if the stored config still equals this complete config from get_connection. On conflict, read it again before retrying.

CLI flags

--status <status>

active to resume, paused to pause ingestion

--config <json>default {}

Config keys to set as JSON; a null value removes a key

--secret-file <path>

Read credential JSON from a file, or - for redirected stdin (avoids argv)

--credentials <json>

Credential JSON (visible in argv/history; prefer --secret-file)

--secret <name=value>default

Set one encrypted credential (repeatable)

--replace

Store this config whole instead of merging it into the stored one

--expected-config <json>

Apply only if the complete config still matches the last connection show result

Also in Sources and connections