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

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.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

2 parameters
team_idintegerrequired
The unique identifier of the team.
usernamestringrequired
The handle for the GitHub user account.

2 status codes
204if user is a member
404if user is not a member

Error handling

A 404 is returned: if user is not a member.

Was this helpful?