Add a webhook to an application

Request

POST https://{hostname}:{port}
    /cli/application/{application}/webhooks?{parameters}
Accept: application/json
Table 1. Request parameters
Parameter Type Required Description
webhookTemplate string true Id or name of webhook template
url string true Url for the webhook
environment string true Id of environment to add the webhook to. This can be repeated for multiple environments.
Table 2. URL parameters
Parameter Type Required Description
application string true Id or name of application
Table 3. Header parameters
Parameter Type Required Description
Accept application/json true

Related CLI command: addWebhookToApplication.