Use the REST API to modify branches and their protection settings.
REST API endpoints for branches
Use the REST API to modify branches and their protection settings.
REST API endpoints for protected branches
Use the REST API to manage protected branches.