Revoke an app's push access to a branch
One step with GitHub. We can help you get access.
Get something done
Revoke an app's push access to a branch
with GitHub · Software Construction Management
Use GitHub: its GitHub v3 REST Repos API lets you revoke an app's push access to a branch in a single step (DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps). capabilities.work can help you get signed up and connected.
- Can I stop a specific GitHub App from pushing to a protected branch?
- How do I take an app off a branch's push allowlist?
Say it to your AI assistant
- Remove apps from the push allowlist of {branch} in {owner}/{repo}.
- Revoke a GitHub App's push access on protected branch {branch} of {owner}/{repo}.
For your developer
DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps in GitHub v3 REST Repos API. Full spec on APIs.io.