provider enterprise-teams PATCH
/enterprises/{enterprise}/teams/{team_slug} @utdk/github
/enterprises/{enterprise}/teams/{team_slug} Update an enterprise team
To edit a team, the authenticated user must be an enterprise owner.
- 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.update({
"sync_to_organizations": "disabled",
"organization_selection_type": "disabled"
})