---
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/ghes.md) · [All operations](https://skmtc.net/github/apis/ghes/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/ghes/revisions/50ae54440071/schema)
