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 in the GitHub Help documentation.