{"meta":{"title":"REST API endpoints for branches and their settings","intro":"Use the REST API to modify branches and their protection settings.","product":"REST API","breadcrumbs":[{"href":"/en/enterprise-cloud@latest/rest","title":"REST API"},{"href":"/en/enterprise-cloud@latest/rest/branches","title":"Branches"}],"documentType":"category"},"body":"# REST API endpoints for branches and their settings\n\nUse the REST API to modify branches and their protection settings.\n\n## Links\n\n* [REST API endpoints for branches](/en/enterprise-cloud@latest/rest/branches/branches)\n\n  Use the REST API to modify branches and their protection settings.\n\n* [REST API endpoints for protected branches](/en/enterprise-cloud@latest/rest/branches/branch-protection)\n\n  Use the REST API to manage protected branches."}