Get a team (Legacy)
Deprecated**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/[email protected]/rest/reference/teams#get-a-team-by-name) endpoint.
/teams/{team_id}- Source
github-v3-rest.json- Revision
f5f067c1e6f6- Active snapshot
85e53e3d0d65
Request
Path Parameters
- team_id integerrequired
Responses
Response
Example: 2017-07-14T16:53:42Z
Example: A great team.
Example: https://github.com/orgs/rails/teams/core
Unique identifier of the team
Example: 42
Distinguished Name (DN) that team maps to within LDAP environment
Example: uid=example,ou=users,dc=github,dc=com
Example: 3
Example: https://api.github.com/organizations/1/team/1/members{/member}
Name of the team
Example: Developers
Example: MDQ6VGVhbTE=
organization Organization Full objectrequiredOrganization Full
Organization Full
Example: https://github.com/images/error/octocat_happy.gif
Example: [email protected]
Example: https://github.com/blog
Example: 8
Example: GitHub
Example: 2008-01-14T04:33:35Z
Example: A great organization
Example: 10000
Example: [email protected]
Example: https://api.github.com/orgs/github/events
Example: 20
Example: 0
Example: true
Example: true
Example: https://api.github.com/orgs/github/hooks
Example: https://github.com/octocat
Example: 1
Example: true
Example: https://api.github.com/orgs/github/issues
Example: San Francisco
Example: github
Example: all
Example: true
Example: true
Example: true
Example: true
Example: true
Example: true
Example: true
Example: false
Example: https://api.github.com/orgs/github/members{/member}
Example: github
Example: MDEyOk9yZ2FuaXphdGlvbjE=
Example: 100
plan objectoptional
Example: 81
Example: 1
Example: https://api.github.com/orgs/github/public_members{/member}
Example: 2
Example: https://api.github.com/orgs/github/repos
Example: 100
Example: github
Example: true
Example: Organization
Example: https://api.github.com/orgs/github
parent Team Simple objectoptionalnullable Groups of organization members that gives permissions on specified repositories.
Groups of organization members that gives permissions on specified repositories.
Description of the team
Example: A great team.
Example: https://github.com/orgs/rails/teams/core
Unique identifier of the team
Example: 1
Distinguished Name (DN) that team maps to within LDAP environment
Example: uid=example,ou=users,dc=github,dc=com
Example: https://api.github.com/organizations/1/team/1/members{/member}
Name of the team
Example: Justice League
Example: MDQ6VGVhbTE=
Permission that the team will have for its repositories
Example: admin
The level of privacy this team should have
Example: closed
Example: https://api.github.com/organizations/1/team/1/repos
Example: justice-league
URL for the team
Example: https://api.github.com/organizations/1/team/1
Permission that the team will have for its repositories
Example: push
The level of privacy this team should have
Example: closed
Example: 10
Example: https://api.github.com/organizations/1/team/1/repos
Example: justice-league
Example: 2017-08-17T12:37:15Z
URL for the team
Example: https://api.github.com/organizations/1/team/1
Resource not found