Skip to main content
  1. Docs
  2. pulumi org webhook edit | CLI commands

pulumi org webhook edit | CLI commands

Generated for Pulumi CLI v3.245.0.

    [EXPERIMENTAL] Update an organization webhook’s configuration

    Synopsis

    [EXPERIMENTAL] Update an organization webhook’s configuration.

    Modifies an existing webhook. Only the flags you pass are changed; all other fields are preserved.

    Use –add-event/–remove-event and –add-group/–remove-group to modify event subscriptions incrementally. To clear the secret, pass –secret “”.

    pulumi org webhook edit <id> [flags]
    

    Examples

      # Disable a webhook
      pulumi org webhook edit 1a2b3c4d --active=false
    
      # Change the payload URL
      pulumi org webhook edit 1a2b3c4d --url https://new-url.example.com
    
      # Add an event and remove another
      pulumi org webhook edit 1a2b3c4d \
        --add-event deployment_failed --remove-event deployment_started
    
      # Add a group
      pulumi org webhook edit 1a2b3c4d --add-group environments
    

    Options

          --active                     Whether the webhook is active (default true)
          --add-event stringArray      An event type to add (repeatable)
          --add-group stringArray      An event group to add (repeatable)
          --display-name string        The webhook display name
      -h, --help                       help for edit
          --hook-format string         The webhook format: raw, slack, or ms_teams
          --org string                 The organization that owns the webhook. Defaults to the current org.
          --output string              Output format. Supported values are: default and json (default "default")
          --remove-event stringArray   An event type to remove (repeatable)
          --remove-group stringArray   An event group to remove (repeatable)
          --secret string              The HMAC key for signature verification (empty string removes the secret)
          --url string                 The webhook payload URL
    

    Options inherited from parent commands

          --color string                 Colorize output. Choices are: always, never, raw, auto (default "auto")
      -C, --cwd string                   Run pulumi as if it had been started in another directory
          --disable-integrity-checking   Disable integrity checking of checkpoint files
      -e, --emoji                        Enable emojis in the output
      -Q, --fully-qualify-stack-names    Show fully-qualified stack names
          --logflow                      Flow log settings to child processes (like plugins)
          --logtostderr                  Log to stderr instead of to files
          --memprofilerate int           Enable more precise (and expensive) memory allocation profiles by setting runtime.MemProfileRate
          --non-interactive              Disable interactive mode for all commands
          --otel-traces string           Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// for remote collectors
          --profiling string             Emit CPU and memory profiles and an execution trace to '[filename].[pid].{cpu,mem,trace}', respectively
          --tracing file:                Emit tracing to the specified endpoint. Use the file: scheme to write tracing data to a local file
      -v, --verbose int                  Enable verbose logging (e.g., v=3); anything >3 is very verbose
    

    SEE ALSO