The REST API is now versioned. For more information, see "About API versioning."
REST API endpoints for teams
Use the REST API to create and manage teams in your GitHub organization.
- REST API endpoints for 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
- REST API endpoints for 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)
- REST API endpoints for team discussions
- REST API endpoints for team members
- List pending team invitations
- List team members
- Get team membership for a user
- Add or update team membership for a user
- Remove team membership for a user
- List pending team invitations (Legacy)
- 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)