v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,4581,08113.3 MB
teams

Get team member (Legacy)

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.

get/teams/{team_id}/members/{username}

Path parameters

team_idinteger required

The unique identifier of the team.

usernamestring required

The handle for the GitHub user account.

Response

if user is a member