このバージョンの GitHub Enterprise サーバーはこの日付をもって終了となります: 2026-03-17. 重大なセキュリティの問題に対してであっても、パッチリリースは作成されません。 パフォーマンスの向上、セキュリティの向上、新機能の向上を図るために、最新バージョンの GitHub Enterprise サーバーにアップグレードしてください。 アップグレードに関するヘルプについては、GitHub Enterprise サポートにお問い合わせください。
REST API はバージョン管理になりました。 詳細については、「API のバージョン管理について」を参照してください。
ブランチとその設定用 REST API エンドポイント
この REST API を使い、ブランチとその保護設定の変更します。
- ブランチの REST API エンドポイント
 - 保護されたブランチ用 REST API エンドポイント
- 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
 - Update status check protection
 - Remove status check protection
 - Get all status check contexts
 - Add status check contexts
 - Set status check contexts
 - Remove status check contexts
 - Get access restrictions
 - Delete access restrictions
 - Get apps with access to the protected branch
 - Add app access restrictions
 - Set app access restrictions
 - Remove app access restrictions
 - Get teams with access to the protected branch
 - Add team access restrictions
 - Set team access restrictions
 - Remove team access restrictions
 - Get users with access to the protected branch
 - Add user access restrictions
 - Set user access restrictions
 - Remove user access restrictions