---
title: "Get team member (Legacy)"
method: GET
path: "/teams/{team_id}/members/{username}"
tags: ["teams"]
deprecated: true
---

# Get team member (Legacy)

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

> **Deprecated.**

The "Get team member" endpoint (described below) is deprecated.

We recommend using the [Get team membership for a user](https://docs.github.com/enterprise-server@3.6/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.

## Path parameters

- `team_id` integer, required
- `username` string, required

## Response `204`

if user is a member

## Other responses

- `404` — if user is not a member

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-5.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-5/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-5/versions/50ae54440071/schema)
