GitHub adds enterprise team support to organization APIs, unifying team discovery
Enterprise Teams Now Unified in Organization APIs
GitHub has extended several organization API endpoints to support enterprise teams alongside existing organization teams. This change eliminates the previous complexity where administrators needed to query separate endpoints and manage different permission levels to get a complete view of all teams in their organization.
The following endpoints now support enterprise teams:
- Teams - Query and manage teams with enterprise team support
- Team members - Interact with team membership across both team types
- Organization repository rulesets - Apply rules using enterprise or organization teams
- Repository rulesets - Configure repository-level rules with unified team support
Key Capabilities
With these API updates, organization owners can now:
- Query both team types in a single request - Retrieve enterprise and organization teams without multiple API calls
- Filter by team type - The "List Teams" endpoint supports filtering to distinguish between team scopes
- Consistent response format - Enterprise and organization teams are returned in a standardized format for easier integration
- Proper permission boundaries - Organization owners see teams scoped to their domain, while enterprise owners get full enterprise-wide visibility
Implementation Details
When using these endpoints, invalid enterprise team inputs will return appropriate error responses. The feature is currently in public preview and subject to change based on developer feedback.
GitHub is actively soliciting feedback through the community discussions to help shape the final implementation of this feature.