Skip to main content

Remove pre-receive hook enforcement for a repository

Deletes any overridden enforcement on this repository for the specified hook. Responds with effective values inherited from owner and/or global level.

DELETE/repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}
Source
github-v3-rest.json
Revision
f5f067c1e6f6
Active snapshot
85e53e3d0d65

Request

Path Parameters
owner string
required
repo string
required
pre_receive_hook_id integer
required

pre_receive_hook_id parameter

Responses

Responds with effective values inherited from owner and/or global level.

configuration_url string
optional
enforcement string
optional
id integer
optional
name string
optional