Hi Team, i am trying to enable the hooks in the project settings in bit bucket using api call.
while i am trying to enable it using below URI provided by bit bucket but not able to do it.
'http://{baseurl}/rest/api/latest/projects/{projectKey}/settings/hooks/{hookKey}/enabled'
but i am getting the below error(attached as image) .
but when i am enabling manually in bit bucket and disabling again, then i am calling the api, its enabling the hook settings.
don't know why it's happening.
BitBucket Version - 7.2.1
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.