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
| Flag | Meaning |
|---|---|
--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). |
--enabled | Enable or disable the connector (--enabled=false disables). |
Exit codes
| Code | Meaning |
|---|---|
| 0 | Done. |
| 1 | The server refused or failed the request (named in the error). |
| 2 | Usage error — missing mandatory flags or no server target. |