---
title: "Delete admin branch protection"
method: DELETE
path: "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"
tags: ["repos"]
---

# Delete admin branch protection

`DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins`

Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.

Removing admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.

## Path parameters

- `owner` string, required
- `repo` string, required
- `branch` string, required

## Response `204`

Response

## Other responses

- `404` — Resource not found

---

[API](https://skmtc.net/github/apis/api-github-com.md) · [All operations](https://skmtc.net/github/apis/api-github-com/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/api-github-com/revisions/a367f7028301/schema)
