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