provider teams GET
/teams/{team_id}/members/{username} @utdk/github
/teams/{team_id}/members/{username} Get team member (Legacy)
The "Get team member" endpoint (described below) is closing down.
We recommend using the [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.
To list members in a team, the team must be visible to the authenticated user.
- team_id path required
- The unique identifier of the team.
- integer
- username path required
- The handle for the GitHub user account.
- string
Try it
Authentication
Configure credentials for GitHub v3 REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import github from '@utdk/github';
await github.teams.getMemberLegacy()