Module repos_set_app_access_restrictions

Module repos_set_app_access_restrictions 

Source
Expand description

Set app 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.

Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with write access to the contents permission can be added as authorized actors on a protected branch.

TypeDescription
arrayThe GitHub Apps that have push access to this branch. Use the app’s slug. Note: The list of users, apps, and teams in total is limited to 100 items.

API method documentation

Modules§

body
Types for body parameter in super::repos_set_app_access_restrictions

Structs§

Content

Functions§

http_builder
hyper_request
reqwest_blocking_builder
reqwest_blocking_request
reqwest_builder
reqwest_request