You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/datadogV2/api_teams.go
+89Lines changed: 89 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1606,6 +1606,95 @@ func (a *TeamsApi) RemoveMemberTeam(ctx _context.Context, superTeamId string, me
1606
1606
returnlocalVarHTTPResponse, nil
1607
1607
}
1608
1608
1609
+
// SyncTeams Link Teams with GitHub Teams.
1610
+
// This endpoint attempts to link your existing Datadog teams with GitHub teams by matching their names.
1611
+
// It evaluates all current Datadog teams and compares them against teams in the GitHub organization
1612
+
// connected to your Datadog account, based on Datadog Team handle and GitHub Team slug
1613
+
// (lowercased and kebab-cased).
1614
+
//
1615
+
// This operation is read-only on the GitHub side, no teams will be modified or created.
1616
+
//
1617
+
// [A GitHub organization must be connected to your Datadog account](https://docs.datadoghq.com/integrations/github/),
1618
+
// and the GitHub App integrated with Datadog must have the `Members Read` permission. Matching is performed by comparing the Datadog team handle to the GitHub team slug
1619
+
// using a normalized exact match; case is ignored and spaces are removed. No modifications are made
1620
+
// to teams in GitHub. This will not create new Teams in Datadog.
// If the `team_links` relationship is present, the associated links are updated to be in the order they appear in the array, and any existing team links not present are removed.
0 commit comments