---
title: "Delete a pre-receive hook"
method: DELETE
path: "/admin/pre-receive-hooks/{pre_receive_hook_id}"
tags: ["enterprise-admin"]
---

# Delete a pre-receive hook

`DELETE /admin/pre-receive-hooks/{pre_receive_hook_id}`

## Path parameters

- `pre_receive_hook_id` integer, required

## Response `204`

Response

---

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