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}
Request
- Base URL: http://HOSTNAME/api/v3
- URL: http://HOSTNAME/api/v3/orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}
- Auth: none declared
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
Changes
No recorded changes to this operation across all 50 revisions of this API.