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
enterpriseTeams.get
GET/enterprises/{enterprise}/teams/{team_slug}
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`.

Parameters

required

The slug version of the enterprise name.

required

The slug of the team name.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import github from '@utdk/github';

await github.enterpriseTeams.get()