---
title: "Delete a repository webhook"
method: DELETE
path: "/repos/{owner}/{repo}/hooks/{hook_id}"
tags: ["repos"]
---

# Delete a repository webhook

`DELETE /repos/{owner}/{repo}/hooks/{hook_id}`

Delete a webhook for an organization.

The authenticated user must be a repository owner, or have admin access in the repository, to delete the webhook.

## Path parameters

- `owner` string, required
- `repo` string, required
- `hook_id` integer, required

## Response `204`

Response

## Other responses

- `404` — Resource not found

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-3.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-3/versions/dc0584ac4e13/schema)
