Add a webhook to an application#

Request#

POST https://{hostname}:{port}
    /cli/application/{application}/webhooks?{parameters}
Accept: application/json

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.
Parameter Type Required Description
application string true Id or name of application
Parameter Type Required Description
Accept application/json true  

Related CLI command: addWebhookToApplication.

Parent topic: application resource