apicheats.dev Cheat sheet Raw .md
POST

Try POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins — GitHub API

GitHub playground

Set admin branch protection

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Path