Add a webhook to a process
Request
POST https://{hostname}:{port}
/cli/process/{process}/webhooks/withCredentials
Accept: {contentType}
| Parameter | Type | Required | Description |
|---|---|---|---|
| process | string | true | Id or name of process |
| Parameter | Type | Required | Description |
|---|---|---|---|
| Accept |
|
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.