Skip to main content
GitHub Docs
Version:
Enterprise Server 3.7
Search GitHub Docs
REST API
/
Branches
/
Protected branches
Home
REST API
Quickstart
About the REST API
About the REST API
Comparing GitHub's APIs
OpenAPI description
Using the REST API
Getting started
Rate limits
Pagination
Libraries
Media types
Best practices
Troubleshooting
Timezones
CORS and JSONP
Issue event types
GitHub event types
Authentication
Authenticating
Keeping API credentials secure
Endpoints for GitHub App installation tokens
Endpoints for GitHub App user tokens
Permissions for GitHub Apps
Guides
Script with JavaScript
Script with Ruby
Discover resources for a user
Delivering deployments
Rendering data as graphs
Working with comments
Building a CI server
Get started - Git database
Get started - Checks
Encrypt secrets
Actions
Artifacts
Cache
OIDC
Permissions
Secrets
Self-hosted runner groups
Self-hosted runners
Workflow jobs
Workflow runs
Workflows
Activity
Events
Feeds
Notifications
Starring
Watching
Apps
GitHub Apps
Installations
OAuth Authorizations
Webhooks
Billing
Billing
Branches
Branches
Protected branches
Get branch protection
Update branch protection
Delete branch protection
Get admin branch protection
Set admin branch protection
Delete admin branch protection
Get pull request review protection
Update pull request review protection
Delete pull request review protection
Get commit signature protection
Create commit signature protection
Delete commit signature protection
Get status checks protection