---
title: "Delete a webhook for a workspace"
method: DELETE
path: "/workspaces/{workspace}/hooks/{uid}"
tags: ["Workspaces", "Webhooks"]
---

# Delete a webhook for a workspace

`DELETE /workspaces/{workspace}/hooks/{uid}`

Deletes the specified webhook subscription from the given workspace.

## 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 workspace does not exist.

---

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