List teams
Lists all teams in an organization that are visible to the authenticated user.
/orgs/{org}/teams- Source
github-v3-rest.json- Revision
f5f067c1e6f6- Active snapshot
85e53e3d0d65
Request
Path Parameters
- org stringrequired
Query Parameters
- per_page integeroptional
Results per page (max 100)
- page integeroptional
Page number of the results to fetch.
Responses
Response
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