enterprise-admin
Update pre-receive hook enforcement for an organization
For pre-receive hooks which are allowed to be configured at the org level, you can set enforcement and allow_downstream_configuration
patch/orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}
Path parameters
orgstring required
The organization name. The name is not case sensitive.
pre_receive_hook_idinteger required
The unique identifier of the pre-receive hook.
Request body
Response
Response