How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GitHub Enterprise Teams API

Interact with GitHub Teams.

GitHub Enterprise Teams API is one of 58 APIs that GitHub Enterprise publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 8 JSON Schema definitions.

Tagged areas include Team. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, rate-limit docs, authentication docs, and 8 JSON Schemas.

This API exposes 42 operations across 23 paths, and defines 20 schemas. It is described by OpenAPI 3.2.0, at version 1.1.4.

Requests are made against a single base URL, https://api.github.com.

42 operations 23 paths 20 schemas 8 DELETE23 GET5 PATCH1 POST5 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.1.4
Base URL
https://api.github.com
Contact
License
Terms of Service
Resource Areas
1

Paths & Operations 42

Across 23 paths, the API surfaces 42 operations — 8 DELETE, 23 GET, 5 PATCH, 1 POST, 5 PUT. Each is listed below with its method, path, parameters, and response codes.

Teams 42

Interact with GitHub Teams.

GET
/orgs/{org}/external-group/{group_id}
Get an external group
teams/external-idp-group-info-for-org 4 params → 200
GET
/orgs/{org}/external-groups
List external groups available to an organization
teams/list-external-idp-groups-for-org 4 params → 200
GET
/orgs/{org}/team-sync/groups
List IdP groups for an organization
teams/list-idp-groups-for-org 4 params → 200
GET
/orgs/{org}/teams
List teams
teams/list 4 params → 200403
POST
/orgs/{org}/teams
Create a team
teams/create 1 param body → 201422403
GET
/orgs/{org}/teams/{team_slug}
Get a team by name
teams/get-by-name 2 params → 200404
PATCH
/orgs/{org}/teams/{team_slug}
Update a team
teams/update-in-org 2 params body → 200201404422403
DELETE
/orgs/{org}/teams/{team_slug}
Delete a team
teams/delete-in-org 2 params → 204422
GET
/orgs/{org}/teams/{team_slug}/external-groups
List a connection between an external group and a team
teams/list-linked-external-idp-groups-to-team-for-org 2 params → 200422
PATCH
/orgs/{org}/teams/{team_slug}/external-groups
Update the connection between an external group and a team
teams/link-external-idp-group-to-team-for-org 2 params body → 200422
DELETE
/orgs/{org}/teams/{team_slug}/external-groups
Remove the connection between an external group and a team
teams/unlink-external-idp-group-from-team-for-org 2 params → 204422
GET
/orgs/{org}/teams/{team_slug}/invitations
List pending team invitations
teams/list-pending-invitations-in-org 4 params → 200422
GET
/orgs/{org}/teams/{team_slug}/members
List team members
teams/list-members-in-org 5 params → 200
GET
/orgs/{org}/teams/{team_slug}/memberships/{username}
Get team membership for a user
teams/get-membership-for-user-in-org 3 params → 200404
PUT
/orgs/{org}/teams/{team_slug}/memberships/{username}
Add or update team membership for a user
teams/add-or-update-membership-for-user-in-org 3 params body → 200403422
DELETE
/orgs/{org}/teams/{team_slug}/memberships/{username}
Remove team membership for a user
teams/remove-membership-for-user-in-org 3 params → 204403
GET
/orgs/{org}/teams/{team_slug}/repos
List team repositories
teams/list-repos-in-org 4 params → 200
GET
/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}
Check team permissions for a repository
teams/check-permissions-for-repo-in-org 4 params → 200204404
PUT
/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}
Add or update team repository permissions
teams/add-or-update-repo-permissions-in-org 4 params body → 204
DELETE
/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}
Remove a repository from a team
teams/remove-repo-in-org 4 params → 204
GET
/orgs/{org}/teams/{team_slug}/team-sync/group-mappings
List IdP groups for a team
teams/list-idp-groups-in-org 2 params → 200422
PATCH
/orgs/{org}/teams/{team_slug}/team-sync/group-mappings
Create or update IdP group connections
teams/create-or-update-idp-group-connections-in-org 2 params body → 200422
GET
/orgs/{org}/teams/{team_slug}/teams
List child teams
teams/list-child-in-org 4 params → 200
GET
/teams/{team_id}deprecated
Get a team (Legacy)
teams/get-legacy 1 param → 200404
PATCH
/teams/{team_id}deprecated
Update a team (Legacy)
teams/update-legacy 1 param body → 200201404422403
DELETE
/teams/{team_id}deprecated
Delete a team (Legacy)
teams/delete-legacy 1 param → 204404422
GET
/teams/{team_id}/invitationsdeprecated
List pending team invitations (Legacy)
teams/list-pending-invitations-legacy 3 params → 200
GET
/teams/{team_id}/membersdeprecated
List team members (Legacy)
teams/list-members-legacy 4 params → 200404
GET
/teams/{team_id}/members/{username}deprecated
Get team member (Legacy)
teams/get-member-legacy 2 params → 204404
PUT
/teams/{team_id}/members/{username}deprecated
Add team member (Legacy)
teams/add-member-legacy 2 params → 204404422403
DELETE
/teams/{team_id}/members/{username}deprecated
Remove team member (Legacy)
teams/remove-member-legacy 2 params → 204404
GET
/teams/{team_id}/memberships/{username}deprecated
Get team membership for a user (Legacy)
teams/get-membership-for-user-legacy 2 params → 200404
PUT
/teams/{team_id}/memberships/{username}deprecated
Add or update team membership for a user (Legacy)
teams/add-or-update-membership-for-user-legacy 2 params body → 200403422404
DELETE
/teams/{team_id}/memberships/{username}deprecated
Remove team membership for a user (Legacy)
teams/remove-membership-for-user-legacy 2 params → 204403
GET
/teams/{team_id}/reposdeprecated
List team repositories (Legacy)
teams/list-repos-legacy 3 params → 200404
GET
/teams/{team_id}/repos/{owner}/{repo}deprecated
Check team permissions for a repository (Legacy)
teams/check-permissions-for-repo-legacy 3 params → 200204404
PUT
/teams/{team_id}/repos/{owner}/{repo}deprecated
Add or update team repository permissions (Legacy)
teams/add-or-update-repo-permissions-legacy 3 params body → 204403422
DELETE
/teams/{team_id}/repos/{owner}/{repo}deprecated
Remove a repository from a team (Legacy)
teams/remove-repo-legacy 3 params → 204
GET
/teams/{team_id}/team-sync/group-mappingsdeprecated
List IdP groups for a team (Legacy)
teams/list-idp-groups-for-legacy 1 param → 200403404
PATCH
/teams/{team_id}/team-sync/group-mappingsdeprecated
Create or update IdP group connections (Legacy)
teams/create-or-update-idp-group-connections-legacy 1 param body → 200422403
GET
/teams/{team_id}/teamsdeprecated
List child teams (Legacy)
teams/list-child-legacy 3 params → 200404403422
GET
/user/teams
List teams for the authenticated user
teams/list-for-authenticated-user 2 params → 200304404403

Schemas 20

The contract defines 20 schemas that model the data the API accepts and returns. The most detailed are minimal-repository (90 properties), team-repository (89 properties), team-organization (49 properties), team-member (24 properties). Each schema is shown below with its type and property counts.

code-of-conduct
object
Code Of Conduct
5 properties 4 required
group-mapping
object
External Groups to be mapped to a team for membership
1 property
basic-error
object
Basic Error
4 properties
nullable-license-simple
objectnull
License Simple
6 properties 5 required
team-organization
object
Team Organization
49 properties 23 required
team-member
object
A user that is a member of a team, including their role on the team and whether the membership is inherited from a child team.
24 properties 18 required
external-group
object
Information about an external group's usage and its members
5 properties 4 required
external-groups
object
A list of external groups available to be connected to a team
1 property
team-membership
object
Team Membership
3 properties 3 required
team-full
object
Groups of organization members that gives permissions on specified repositories.
22 properties 16 required
validation-error
object
Validation Error
3 properties 2 required
minimal-repository
object
Minimal Repository
90 properties 46 required
nullable-simple-user
objectnull
A GitHub user.
22 properties 18 required
organization-invitation
object
Organization Invitation
12 properties 9 required
team
object
Groups of organization members that gives permissions on specified repositories.
18 properties 12 required
security-and-analysis
objectnull
11 properties
ldap-dn
string
The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.
nullable-team-simple
objectnull
Groups of organization members that gives permissions on specified repositories.
16 properties 11 required
team-repository
object
A team's access to a repository.
89 properties 73 required
simple-user
object
A GitHub user.
22 properties 18 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

github-enterprise-teams-api-openapi.yml Raw ↑

Other APIs GitHub Enterprise publishes across the network.

GitHub Enterprise Cloud GraphQL API
GitHub MCP Server
GitHub Enterprise Actions API
GitHub Enterprise Code Scanning API
GitHub Enterprise Admin API
GitHub Enterprise Issues API
GitHub Enterprise SCIM API
GitHub Enterprise Users API
GitHub Enterprise Activity API
GitHub Enterprise Agent Automations API
GitHub Enterprise Agent Merge API
GitHub Enterprise Agent Tasks API
Where this information came from

This is an independent, third-party profile of GitHub Enterprise Teams API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.