provider teams PATCH
/orgs/{org}/teams/{team_slug} @utdk/github
/orgs/{org}/teams/{team_slug} Update a team
To edit a team, the authenticated user must either be an organization owner or a team maintainer.
> [!NOTE]
> You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.
- org path required
- The organization name. The name is not case sensitive.
- 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.teams.updateInOrg({
"permission": "pull"
})