Enterprise team support in organization APIs
Source: GitHub Changelog
Organization owners within GitHub Enterprise can now discover and interact with both enterprise teams and organization teams through existing organization API endpoints. Previously, retrieving a complete view of all teams required querying separate endpoints and obtaining varying admin permissions. This release reduces that complexity.
Supported API endpoints
New capabilities
- Query enterprise teams and organization teams in a single request.
- Filter results by team type for the “List Teams” endpoint.
- Clearly distinguish between enterprise‑level and organization‑level teams in a consistent format.
Organization owners will see teams scoped to their domain, while enterprise owners get full visibility across the enterprise. If an enterprise team input is not valid, an error response is returned.
Feedback
Enterprise Teams is a public preview feature and subject to change. If you have feedback, join us in this discussion.