Repositories
Webhooks
Delete a webhook for a repository
Changed onDeletes the specified webhook subscription from the given repository.
delete/repositories/{workspace}/{repo_slug}/hooks/{uid}
Request
- Base URLhttps://api.bitbucket.org/2.0
- URLhttps://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/hooks/{uid}
- Auth
- OAuth 2Authorization code: https://bitbucket.org/site/oauth2/authorizeToken URL: https://bitbucket.org/site/oauth2/access_token scopes: webhook
- or HTTP basic
- or API key in header Authorization
Path parameters
workspacestring required
This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.
repo_slugstring required
This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
uidstring required
The webhook's id.
Response
When the webhook was deleted successfully
Changes
- breaking
added the new path request parameter
repo_slug - breaking
added the new path request parameter
uid - breaking
added the new path request parameter
workspace - info
api operation id
delete_repository_hookwas added
- breaking