enforcement and allow_downstream_configurationcurl --location --request PATCH 'https://service1.exmaple.com/orgs//pre-receive-hooks/' \
--header 'Content-Type: application/json' \
--data '{
"enforcement": "enabled",
"allow_downstream_configuration": false
}'{
"id": 42,
"name": "Check Commits",
"enforcement": "enabled",
"configuration_url": "https://github.example.com/api/v3/orgs/octocat/pre-receive-hooks/42",
"allow_downstream_configuration": false
}