GET
/enterprises/{enterprise}/teams/{team_slug}Get an enterprise team
Gets a team using the team's slug. To create the slug, GitHub replaces special characters in the name string, changes all words to lowercase, and replaces spaces with a - separator and adds the "ent:" prefix. For example, "My TEam Näme" would become ent:my-team-name.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
enterprisestringrequired
The slug version of the enterprise name.
team_slugstringrequired
The slug of the team name.
200Response
idintegerrequired
namestringrequired
descriptionstringoptional
slugstringrequired
urlstringrequired
sync_to_organizationsstringoptional
Retired: this field will not be returned with GHEC enterprise teams.
organization_selection_typestringoptional
group_idstringrequired
group_namestringoptional
Retired: this field will not be returned with GHEC enterprise teams.
html_urlstringrequired
members_urlstringrequired
members_countintegerrequired
The number of members in the enterprise team.
created_atstringrequired
updated_atstringrequired
notification_settingstringoptional
Whether team members will receive notifications when the team is mentioned.
403Forbidden
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
Error handling
A 403 is returned: Forbidden.