Skip to main content
Version: v5.6.1

opschain admin notifications connectors update

Included from Basic tier

opschain admin notifications connectors update <connector-id> [flags]

Updates a channel connector (NotificationAdminService.UpdateNotificationConnector): only the flags you pass change; a supplied secret rotates the stored one and cannot be blanked; --kind switches the connector's kind when the target kind's secret material rides the same update.

Flags​

FlagMeaning
--name <name>Rename the connector.
--kind <kind>Switch the connector's kind.
--allow-url <prefix>Replace the URL allowlist with the given set (repeatable; webhook only, must stay non-empty).
--default-headers <json>Replace the default headers JSON object (webhook only).
--signing-secret-env <VAR>Name of an environment variable holding the replacement HMAC signing secret (webhook only).
--webhook-url-env <VAR>Name of an environment variable holding the replacement incoming-webhook URL (slack/teams only).
--enabledEnable or disable the connector (--enabled=false disables).

Exit codes​

CodeMeaning
0Done.
1The server refused or failed the request (named in the error).
2Usage error — missing mandatory flags or no server target.