← Back
GitHub
GitHub extends organization APIs to include enterprise teams
GitHub · apifeaturerelease · github.blog ↗

Enterprise Team Support Now Available

GitHub Enterprise organization owners can now access and manage both enterprise teams and organization teams through existing organization API endpoints. Previously, retrieving a complete view of all teams required querying separate endpoints and managing varying permission levels—a complex workflow that's now simplified.

Updated API Endpoints

The following endpoints now support enterprise teams as both input and output:

  • Teams – list and manage teams across the enterprise and organization
  • Team members – interact with team membership across boundaries
  • Organization repository rulesets – apply rulesets using enterprise teams
  • Repository rulesets – configure rulesets at the repository level

What Developers Can Now Do

With the updated endpoints, you can:

  • Query all teams in a single request – retrieve both enterprise and organization teams without multiple API calls
  • Filter by team type – use the "List Teams" endpoint to distinguish between enterprise-level and organization-level teams
  • Maintain consistent team handling – work with a unified format for all team types

Access is scoped appropriately: organization owners see teams within their domain, while enterprise owners get full visibility across the entire enterprise. Invalid enterprise team inputs will return error responses.

Current Status and Feedback

This feature is currently in public preview and subject to change. If you have feedback or suggestions, join the community discussion on GitHub.