Skip to content

Lagoon add notification webhook

lagoon add notification webhook#

Add a new webhook notification

Synopsis#

Add a new webhook notification This command is used to set up a new webhook notification in Lagoon. This requires information to talk to the webhook like the webhook URL. It does not configure a project to send notifications to webhook though, you need to use project-webhook for that.

lagoon add notification webhook [flags]

Options#

  -h, --help                   help for webhook
  -n, --name string            The name of the notification
      --organization-id uint   ID of the Organization
  -w, --webhook string         The webhook URL of the notification

Options inherited from parent commands#

      --config-file string   Path to the config file to use (must be *.yml or *.yaml)
      --debug                Enable debugging output (if supported)
  -e, --environment string   Specify an environment to use
      --force                Force yes on prompts (if supported)
  -l, --lagoon string        The Lagoon instance to interact with
      --no-header            No header on table (if supported)
      --output-csv           Output as CSV (if supported)
      --output-json          Output as JSON (if supported)
      --pretty               Make JSON pretty (if supported)
  -p, --project string       Specify a project to use
      --skip-update-check    Skip checking for updates
  -i, --ssh-key string       Specify path to a specific SSH key to use for lagoon authentication

SEE ALSO#