Enterprise Team Support in Organization APIs
GitHub Enterprise has expanded its organization API endpoints to natively support enterprise teams alongside organization teams. Previously, developers working with enterprise GitHub instances needed to query separate endpoints with varying permission requirements to get a complete view of all teams.
What's Changed
The following API endpoints now support enterprise teams as both input and output:
- Teams endpoint – List and manage teams at both enterprise and organization levels
- Team members endpoint – Retrieve and manage enterprise team members
- Organization repository rulesets – Apply rulesets to enterprise teams
- Repository rulesets – Configure repository-level rules for enterprise teams
New Capabilities
With these updates, developers can now:
- Query all teams in a single request – Fetch both enterprise and organization teams without multiple API calls
- Filter by team type – The "List Teams" endpoint now includes filtering options to distinguish enterprise-level from organization-level teams
- Consistent response formatting – Enterprise and organization teams return in a standardized format for easier parsing
Permissions & Visibility
The change maintains proper access controls: organization owners see teams scoped to their domain, while enterprise owners gain full visibility across the entire enterprise. Invalid enterprise team inputs will return appropriate error responses.
Status & Feedback
Enterprise Teams is currently in public preview and subject to breaking changes. Teams looking to adopt this feature can provide feedback on GitHub Community Discussions.