feat: Add support for Enterprise Team Organizations APIs by Not-Dhananjay-Mishra · Pull Request #3876 · google/go-github

@Not-Dhananjay-Mishra

Related: #3860
This PR adds support for Enterprise Team Organizations

  • GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations
  • POST /enterprises/{enterprise}/teams/{enterprise-team}/organizations/add
  • POST /enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove
  • GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}
  • PUT /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}
  • DELETE /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}

@Not-Dhananjay-Mishra

@gmlewis gmlewis changed the title feat: Add Support for Enterprise Team Organizations APIs feat: Add support for Enterprise Team Organizations APIs

Dec 11, 2025

gmlewis

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@codecov

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.48%. Comparing base (1830689) to head (6ecbbb3).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3876      +/-   ##
==========================================
+ Coverage   92.44%   92.48%   +0.03%     
==========================================
  Files         200      200              
  Lines       14494    14564      +70     
==========================================
+ Hits        13399    13469      +70     
  Misses        895      895              
  Partials      200      200              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

stevehipwell

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gmlewis