List child teams (Legacy)
GET {{baseUrl}}/teams/:team_id/teams?per_page=30&page=1
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
endpoint.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
per_page | number | Results per page (max 100) | |
page | number | Page number of the results to fetch. |
RESPONSES
status: OK
[{"id":2,"node_id":"MDQ6VGVhbTI=","url":"https://api.github.com/teams/2","name":"Original Roster","slug":"original-roster","description":"Started it all.","privacy":"closed","permission":"admin","members_url":"https://api.github.com/teams/2/members{/member}","repositories_url":"https://api.github.com/teams/2/repos","parent":{"id":1,"node_id":"MDQ6VGVhbTE=","url":"https://api.github.com/teams/1","html_url":"https://api.github.com/teams/justice-league","name":"Justice League","slug":"justice-league","description":"A great team.","privacy":"closed","permission":"admin","members_url":"https://api.github.com/teams/1/members{/member}","repositories_url":"https://api.github.com/teams/1/repos"},"html_url":"https://github.com/orgs/rails/teams/core"}]