enforcement and allow_downstream_configurationAuthorization: Bearer ********************curl --location --request PATCH 'https://api.github.com/orgs//pre-receive-hooks/' \
--header 'Authorization: Bearer <token>' \
--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"
}
【GitHub】API开发者 微信交流群
用微信扫右侧二维码,加入【GitHub】API开发者 交流群,互助沟通

扫码加入交流群