Add a webhook to a process

Request

POST https://{hostname}:{port}
    /cli/process/{process}/webhooks/withCredentials
Accept: {contentType}
Table 1. URL parameters
Parameter Type Required Description
process string true Id or name of process
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:
{
  "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: addWebhookToProcessWithCredentials.