Remove a repository from a team by ID (legacy)
One step with GitHub. We can help you get access.
Get something done
Remove a repository from a team by ID (legacy)
with GitHub
Use GitHub: its GitHub v3 REST Teams API lets you remove a repository from a team by ID (legacy) in a single step (DELETE /teams/{team_id}/repos/{owner}/{repo}). capabilities.work can help you get signed up and connected.
- Can I remove a repo from a team via the numeric team ID route?
- Is the ID-based remove-repository endpoint deprecated?
Say it to your AI assistant
- Using the legacy team ID route, detach the {owner}/{repo} repository from team {team_id}.
- Via the deprecated endpoint, revoke numeric team {team_id} access to repository {owner}/{repo}.
For your developer
DELETE /teams/{team_id}/repos/{owner}/{repo} in GitHub v3 REST Teams API. Full spec on APIs.io.