Delete Webhook API doesnt works

Hi,
I was working with the Github APIs. I used the Create Webhook API listed here : “https://developer.github.com/v3/repos/hooks/” and it worked and the Webhook was created in the specified Repository. But the Delete Webhook API doesnt seems to work and is always returning the message “Not Found” even though I am passing everything correctly.

:wave: @viivekmehta –– Welcome to the GitHub Support Community, and thanks for raising this here!

But the Delete Webhook API doesnt seems to work and is always returning the message “Not Found” even though I am passing everything correctly.

Could you please send us the full output of a curl -v request that demonstrates what you’re seeing?

That should help us investigate the issue. Also, please make sure you mask any sensitive information like OAuth tokens and Authorization headers in the output of the curl command.