---
title: "Delete a webhook for a repository"
method: DELETE
path: "/repositories/{workspace}/{repo_slug}/hooks/{uid}"
tags: ["Repositories", "Webhooks"]
---

# Delete a webhook for a repository

`DELETE /repositories/{workspace}/{repo_slug}/hooks/{uid}`

Deletes the specified webhook subscription from the given
repository.

## Response `204`

When the webhook was deleted successfully

## Other responses

- `403` — If the authenticated user does not have permission to delete the webhook.
- `404` — If the webhook or repository does not exist.

---

[API](https://skmtc.net/atlassian/apis/bitbucket-api.md) · [All operations](https://skmtc.net/atlassian/apis/bitbucket-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlassian/bitbucket-api/revisions/8c7911c0a910/schema)
