enforcement
and allow_downstream_configuration
curl --location --request PATCH 'https://api.github.com/orgs//pre-receive-hooks/' \
--header 'Content-Type: application/json' \
--data-raw '{
"allow_downstream_configuration": false,
"enforcement": "enabled"
}'
{
"allow_downstream_configuration": true,
"configuration_url": "string",
"enforcement": "string",
"id": 0,
"name": "string"
}
Authorization: Bearer ********************
【GitHub】API开发者 微信交流群
用微信扫右侧二维码,加入【GitHub】API开发者 交流群,互助沟通