List child teams (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 new [`List child teams`](https://docs.github.com/[email protected]/rest/reference/teams#list-child-teams) endpoint.
/teams/{team_id}/teams- Source
github-v3-rest.json- Revision
f5f067c1e6f6- Active snapshot
85e53e3d0d65
Request
Path Parameters
- team_id integerrequired
Query Parameters
- per_page integeroptional
Results per page (max 100)
- page integeroptional
Page number of the results to fetch.
Responses
if child teams exist
Headers
<https://api.github.com/resource?page=2>; rel="next", <https://api.github.com/resource?page=5>; rel="last" items Team objectGroups of organization members that gives permissions on specified repositories.
Groups of organization members that gives permissions on specified repositories.
Example: https://github.com/orgs/rails/teams/core
parent Team Simple objectrequirednullable 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
permissions objectoptional
Forbidden
Resource not found
Validation failed