octokit.rest

Delete access restrictions

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 in the GitHub Help documentation.

Disables the ability to restrict who can push to this branch.

Parameters

string The token will be passed in the authorization header.

string

string

string branch+ parameter

Request

DELETE https://api.github.com/repos///branches//protection/restrictions
authorization: bearer undefined
accept: application/vnd.github.v3+json
user-agent: octokit.rest
content-length: 0


No response available

See documentation on GitHub developer guides