UpdateWebhook

Action and eventTrigger can be updated
if there is no change in the event (push to pull OR pull to push)
github webhook will not be updated.
In case of change in event github webhook will be updated and
updated reference will be stored
e.g. If the event changes from pushToBranch to pushToTag, no need to
update github webhook as push event is already registered.
However if the event changes from pushToBranch to pullReq the github
webhook will be updated from push event to pull_req event

Responds as error if the webhook is not found

Language
Click Try It! to start a request and see the response here!