Tsuru event webhook update
tsuru event webhook update¶
Updates an existing webhook.
Synopsis¶
Updates an existing webhook.
tsuru event webhook update <name> [-u/--url <url>] [-d/--description <description>] [-t/--team <team>] [-m/--method <method>] [-b/--body <body>] [--proxy <url>] [-H/--header <name=value>]... [--insecure] [--error-only] [--success-only] [--target-type <type>]... [--target-value <value>]... [--kind-type <type>]... [--kind-name <name>]... [--no-body] [--no-header] [--no-insecure] [--no-target-type] [--no-target-value] [--no-kind-type] [--no-kind-name] [--no-error-only] [--no-success-only] [flags]
Options¶
-b, --body string The HTTP body sent in the request if method is either POST, PUT or PATCH, if unset defaults to the Event that triggered the webhook serialized as JSON. The API will try to parse the body as a Go template string with the event available as context.
-d, --description string A description on how the webhook will be used.
--error-only Only matches events with error.
-H, --header key=value The HTTP headers sent in the request.
--insecure Ignore TLS errors in the webhook request.
--kind-name string Kind Name for matching events.
--kind-type string Kind Type for matching events.
-m, --method string The HTTP Method used in the request, if unset defaults to POST.
--no-body Unset body value.
--no-error-only Unset only matches events with error.
--no-header Unset header value.
--no-insecure Unset insecure value.
--no-kind-name Unset Kind Name for matching events.
--no-kind-type Unset Kind Type for matching events.
--no-success-only Unset only matches events with success.
--no-target-type Unset Target Type for matching events.
--no-target-value Unset Target Value for matching events.
--proxy string The proxy server URL used in the request. Supported schemes are http(s) and socks5.
--success-only Only matches events with success.
--target-type string Target Type for matching events.
--target-value string Target Value for matching events.
-t, --team string The team name responsible for this webhook.
-u, --url string The HTTP URL used in the request.
-h, --help help for update
Options inherited from parent commands¶
--target string Tsuru server endpoint
--verbosity int Verbosity level: 1 => print HTTP requests; 2 => print HTTP requests/responses
SEE ALSO¶
- tsuru event webhook - Event webhooks allow integrating tsuru events with external systems.