Delete webhooks by ID through REST API(Jira dynamic webhooks)

CURL Request

curl --request DELETE \
  --url 'https://**********' \
  --user 'mahesh.g@*******.com:*****************' \
  --header 'Content-Type: application/json' \
  --data '{
  "webhookIds": [

Response is

    "errorMessages": ["No content to map to Object due to end of input"]

@MaheshGangavarapu welcome to the Atlassian Developer Community! Thanks for posting.

According to the relevant documentation:

Only Connect apps can use this operation.

Therefore, that endpoint is not going to respond to curl with an API token. I do admit the error message doesn’t make that clear in the slightest.

Hi ibuchanan,

Thanks for quick reply, I have used through ACE App, I am facing the similar issue. That is the reason, i tried though CURL as per dynamic webhooks documentation. Through My app, i am able to register and fetch the details of registered webhook details.


Unfortunately, the generated curl commands in Jira documentation are entirely unreliable because they do not properly account for authentication.

I’m not sure exactly what you are trying to do with webhooks. Long ago, I created a simple webhook sample App (without ACE) just to explore all the underlying mechanics. That uses the “static” webhooks, registered at the time of installation. Will that work for your needs?

If what you need is dynamic, then your app can only manage the webhooks your app has created. So, to be clear, are you trying to delete a webhook registered by your app? Can you provide more information about the error you see when issuing a delete request?

1 Like