Skip to content

Get team member (Legacy)

Deprecated
GET
/teams/{team_id}/members/{username}

The “Get team member” endpoint (described below) is closing down.

We recommend using the 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.

API method documentation

team_id
required
integer

The unique identifier of the team.

username
required
string

The handle for the GitHub user account.

If user is a member

If user is not a member