Create Team
Creates a new developer team. Teams can be organized around developers (by adding members), repositories (by assigning repos), or both. You can also create empty teams and add members/repos later via the update and member endpoints.
Use cases:
- Developer-based team: Pass
membersto group developers (e.g. a frontend squad). You can optionally passrepositoriesas a filter to scope metrics to specific repos for this team. - Repository-based team: Pass only
repositoriesto group repos (e.g. all microservices). No members - metrics are aggregated across the listed repos. - Mixed team: Pass both
membersandrepositories- metrics are scoped to these members across these repos. - Disabled lists: Create special teams named
codeant-disabled-membersorcodeant-disabled-reposto exclude specific developers or repositories from all metrics calculations across the organization.
Optionally assign one or more team_leads (by login) and categorize teams with tags. Teams can be nested using parent_team_id.
POST
Authorizations
Body
application/json