This will be a breaking change, but to make the transition easier, we've
decided to not require you to explicitly include
on the general update branch protection
endpoint until the preview period is over. At that point, if you do not include the
required_pull_request_reviews object, you will receive an error.
How can I try it?
To access this functionality during the preview period, you’ll need to provide the following custom media type in the Accept header: