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.

The following API endpoints now have support for presenting Enterprise Teams as output as well as accepting them as input:

With the updated API endpoints, you can:

  • 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 should be returned.

Enterprise Teams is a public preview feature and subject to change. If you have feedback, join us in this discussion.