Get a team by name
Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`. **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.
/orgs/{org}/teams/{team_slug}- Source
github-v3-rest.json- Revision
f5f067c1e6f6- Active snapshot
85e53e3d0d65
Request
Path Parameters
- org stringrequired
- team_slug stringrequired
team_slug parameter
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