Updates a webhook for a process.
Request
PUT https://{hostname}:{port}
/cli/process/{process}/webhooks/{webhook}/withCredentials
| Parameter | Type | Required | Description |
|---|---|---|---|
| process | string | true | Id or name of process |
| webhook | string | true | Id of webhook |
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: updateWebhookForProcessWithCredentials.