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
This endpoint attempts to link your existing Datadog teams with GitHub teams by matching their names.
105530
+
This endpoint configures synchronization between your existing Datadog teams and GitHub teams by matching their names.
105460
105531
It evaluates all current Datadog teams and compares them against teams in the GitHub organization
105461
105532
connected to your Datadog account, based on Datadog Team handle and GitHub Team slug
105462
105533
(lowercased and kebab-cased).
105463
105534
105464
105535
This operation is read-only on the GitHub side, no teams will be modified or created.
105465
105536
105537
+
Optionally, provide `selection_state` to limit synchronization
105538
+
to specific teams or organizations and their subtrees, instead
105539
+
of syncing all teams.
105540
+
105466
105541
[A GitHub organization must be connected to your Datadog account](https://docs.datadoghq.com/integrations/github/),
105467
105542
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
105468
105543
using a normalized exact match; case is ignored and spaces are removed. No modifications are made
Copy file name to clipboardExpand all lines: src/datadog_api_client/v2/api/teams_api.py
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1972,13 +1972,17 @@ def sync_teams(
1972
1972
) ->None:
1973
1973
"""Link Teams with GitHub Teams.
1974
1974
1975
-
This endpoint attempts to link your existing Datadog teams with GitHub teams by matching their names.
1975
+
This endpoint configures synchronization between your existing Datadog teams and GitHub teams by matching their names.
1976
1976
It evaluates all current Datadog teams and compares them against teams in the GitHub organization
1977
1977
connected to your Datadog account, based on Datadog Team handle and GitHub Team slug
1978
1978
(lowercased and kebab-cased).
1979
1979
1980
1980
This operation is read-only on the GitHub side, no teams will be modified or created.
1981
1981
1982
+
Optionally, provide ``selection_state`` to limit synchronization
1983
+
to specific teams or organizations and their subtrees, instead
1984
+
of syncing all teams.
1985
+
1982
1986
`A GitHub organization must be connected to your Datadog account <https://docs.datadoghq.com/integrations/github/>`_ ,
1983
1987
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
1984
1988
using a normalized exact match; case is ignored and spaces are removed. No modifications are made
0 commit comments