apicheats.dev Cheat sheet Raw .md
POST

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

GitHub playground

Add user access restrictions

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

Body application/json

1 body fields
  • users · required · string[] — The username for users