---
title: "List a connection between an external group and a team"
method: GET
path: "/orgs/{org}/teams/{team_slug}/external-groups"
tags: ["teams"]
---

# List a connection between an external group and a team

`GET /orgs/{org}/teams/{team_slug}/external-groups`

Lists a connection between a team and an external group.

You can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/enterprise-server@3.8/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation.

## Path parameters

- `org` string, required
- `team_slug` string, required

## Response `200`

Response

- ExternalGroups — A list of external groups available to be connected to a team
  - `groups` object[] — An array of external groups available to be mapped to a team
    - `group_id` integer, required — The internal ID of the group
    - `group_name` string, required — The display name of the group
    - `updated_at` string, required — The time of the last update for this group

---

[API](https://skmtc.net/github/apis/ghes.md) · [All operations](https://skmtc.net/github/apis/ghes/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/ghes/revisions/5438365412fe/schema)
