provider enterprise-teams GET
/enterprises/{enterprise}/teams/{team_slug} @utdk/github
/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`.
- enterprise path required
- The slug version of the enterprise name.
- string
- team_slug path required
- The slug of the team name.
- string
Try it
Authentication
Configure credentials for GitHub v3 REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import github from '@utdk/github';
await github.enterpriseTeams.get()