metadata
title: REST API endpoints for protected branches
shortTitle: Protected branches
intro: Use the REST API to manage protected branches.
versions:
fpt: '*'
ghec: '*'
ghes: '*'
topics:
- API
allowTitleToDifferFromFilename: true
autogenerated: rest