Remove a team membership by team ID (legacy)
One step with GitHub. We can help you get access.
Get something done
Remove a team membership by team ID (legacy)
with GitHub
Use GitHub: its GitHub v3 REST Teams API lets you remove a team membership by team ID (legacy) in a single step (DELETE /teams/{team_id}/memberships/{username}). capabilities.work can help you get signed up and connected.
- Can I remove someone's team membership using the numeric team ID route?
- Is the ID-based memberships removal endpoint deprecated?
Say it to your AI assistant
- Using the legacy team ID route, delete {username}'s membership on team {team_id}.
- Via the deprecated memberships endpoint, end membership of {username} in numeric team {team_id}.
For your developer
DELETE /teams/{team_id}/memberships/{username} in GitHub v3 REST Teams API. Full spec on APIs.io.