This version of GitHub Enterprise was discontinued on 2023-03-15. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.
After a site administrator upgrades your Enterprise Server instance to Enterprise Server 3.9 or later, the REST API will be versioned. To learn how to find your instance's version, see "About versions of GitHub Docs". For more information, see "About API versioning."
Teams
Use the REST API to create and manage teams in your GitHub Enterprise Server organization.
- Teams
- List teams
- Create a team
- Get a team by name
- Update a team
- Delete a team
- List team projects
- Check team permissions for a project
- Add or update team project permissions
- Remove a project from a team
- List team repositories
- Check team permissions for a repository
- Add or update team repository permissions
- Remove a repository from a team
- List child teams
- Get a team (Legacy)
- Update a team (Legacy)
- Delete a team (Legacy)
- List team projects (Legacy)
- Check team permissions for a project (Legacy)
- Add or update team project permissions (Legacy)
- Remove a project from a team (Legacy)
- List team repositories (Legacy)
- Check team permissions for a repository (Legacy)
- Add or update team repository permissions (Legacy)
- Remove a repository from a team (Legacy)
- List child teams (Legacy)
- List teams for the authenticated user
- Team discussion comments
- List discussion comments
- Create a discussion comment
- Get a discussion comment
- Update a discussion comment
- Delete a discussion comment
- List discussion comments (Legacy)
- Create a discussion comment (Legacy)
- Get a discussion comment (Legacy)
- Update a discussion comment (Legacy)
- Delete a discussion comment (Legacy)
- Team discussions
- List discussions
- Create a discussion
- Get a discussion
- Update a discussion
- Delete a discussion
- List discussions (Legacy)
- Create a discussion (Legacy)
- Get a discussion (Legacy)
- Update a discussion (Legacy)
- Delete a discussion (Legacy)
- Team members
- List team members
- Get team membership for a user
- Add or update team membership for a user
- Remove team membership for a user
- List team members (Legacy)
- Get team member (Legacy)
- Add team member (Legacy)
- Remove team member (Legacy)
- Get team membership for a user (Legacy)
- Add or update team membership for a user (Legacy)
- Remove team membership for a user (Legacy)