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

# Remove the connection between an external group and a team

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

Deletes a connection between a team and an external group.

You can manage team membership with your IdP 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 `204`

Response

---

[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)
