Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

OAuth 2.0 is not enabled for method: DELETE /rest/api/3/webhook/refresh

Matthew Dennis
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 4, 2022

Apologies if this isn't the correct place for this inquiry.

The documentation at: (https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-webhooks/#api-rest-api-3-webhook-delete) seems to imply that Oauth 2 implementations should be able to delete webhooks given they have the scope: `delete:webhook:jira`.

But when calling that endpoint I get back "OAuth 2.0 is not enabled for method: DELETE /rest/api/3/webhook/refresh" I do have the required scopes.

In my dev env I had a temp URL set to callback URL for the webhook when first creating the webhooks. And as I can't delete it I don't seem to be able to change the URL.

The other interesting thing is the documentation states: "This URL must use the same base URL as the Connect app" I'm guessing the intention is the same for Oauth 2 integrations however the placeholder URL I had originally does not match the base URL of the integration but it supposedly successfully created the webhooks.

Any ideas if this API endpoint should be accessible to Oauth 2 integrations(or if the docs are wrong) and if not anyway workarounds available to update/edit/change the callback URL for webhooks?

Thanks!

 

1 answer

1 accepted

1 vote
Answer accepted
Matthew Dennis
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 5, 2022

It was right in front of me and I missed it, apologies! /webhook is what I was looking for not /webhook/refresh, copy pasta.

Suggest an answer

Log in or Sign up to answer