Replace the apps allowed to push to a branch
One step with GitHub. We can help you get access.
Get something done
Replace the apps allowed to push to a branch
with GitHub · Software Construction Management
Use GitHub: its GitHub v3 REST Repos API lets you replace the apps allowed to push to a branch in a single step (PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps). capabilities.work can help you get signed up and connected.
- Can I swap out the entire list of apps permitted to push to a protected branch?
- What happens to apps that already had push access when I set a new app list?
Say it to your AI assistant
- Replace the apps allowed to push to {branch} in {owner}/{repo}.
- Reset the app push allowlist on branch {branch} of {owner}/{repo} to a new set.
For your developer
PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps in GitHub v3 REST Repos API. Full spec on APIs.io.