Update an application webhook

Update the settings for an application webhook.

Request

PUT https://{hostname}:{port}
    /cli/application/{application}/webhooks/{webhook}/withCredentials
Accept: {contentType}
Table 1. URL parameters
Parameter Type Required Description
webhook string true ID of webhook
application string true ID or name of application
Table 2. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true
This command takes a JSON request string or file. Use the following template for the request:
{
  "environments": ["Name or ID of environments"],
  "proxyHost": "Proxy Host. Updating proxy host will unset 
  proxy username and password if those are not provided",
  "proxyPassword": "Password to use for basic 
  authentication with the proxy",
  "proxyPort": "Proxy Port. Updating proxy port will unset 
  proxy username and password if those are not provided",
  "proxyUsername": "Username to use for basic 
  authentication with the proxy",
  "url": "Url for the webhook",
  "webhookTemplate": "Name or ID of the webhook template"
}

Related CLI command: updateWebhookForApplicationWithCredentials.