| title: REST API endpoints for rules | |
| shortTitle: Rules | |
| intro: >- | |
| Use the REST API to manage rulesets for repositories. Rulesets control how | |
| people can interact with selected branches and tags in a repository. | |
| versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 | |
| fpt: '*' | |
| ghec: '*' | |
| ghes: '*' | |
| topics: | |
| - API | |
| autogenerated: rest | |
| allowTitleToDifferFromFilename: true | |
| redirect_from: | |
| - /early-access/repositories/using-the-rest-api-to-manage-repository-rulesets | |
| <!-- Content after this section is automatically generated --> | |