Skip to content

Commit 8e773e0

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit a22a309 of spec repo
1 parent 2de34e3 commit 8e773e0

File tree

2 files changed

+27
-3
lines changed

2 files changed

+27
-3
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85501,7 +85501,13 @@ paths:
8550185501
permissions:
8550285502
- teams_read
8550385503
post:
85504-
description: Add a user to a team.
85504+
description: 'Add a user to a team.
85505+
85506+
85507+
**Note**: Each team has a setting that determines who is allowed to modify
85508+
membership of the team. The `user_access_manage` permission generally grants
85509+
access to modify membership of any team. To get the full picture, see [Team
85510+
Membership documentation](https://docs.datadoghq.com/account_management/teams/manage/#team-membership).'
8550585511
operationId: CreateTeamMembership
8550685512
parameters:
8550785513
- description: None
@@ -85554,7 +85560,13 @@ paths:
8555485560
- teams_read
8555585561
/api/v2/team/{team_id}/memberships/{user_id}:
8555685562
delete:
85557-
description: Remove a user from a team.
85563+
description: 'Remove a user from a team.
85564+
85565+
85566+
**Note**: Each team has a setting that determines who is allowed to modify
85567+
membership of the team. The `user_access_manage` permission generally grants
85568+
access to modify membership of any team. To get the full picture, see [Team
85569+
Membership documentation](https://docs.datadoghq.com/account_management/teams/manage/#team-membership).'
8555885570
operationId: DeleteTeamMembership
8555985571
parameters:
8556085572
- description: None
@@ -85595,7 +85607,13 @@ paths:
8559585607
permissions:
8559685608
- teams_read
8559785609
patch:
85598-
description: Update a user's membership attributes on a team.
85610+
description: 'Update a user''s membership attributes on a team.
85611+
85612+
85613+
**Note**: Each team has a setting that determines who is allowed to modify
85614+
membership of the team. The `user_access_manage` permission generally grants
85615+
access to modify membership of any team. To get the full picture, see [Team
85616+
Membership documentation](https://docs.datadoghq.com/account_management/teams/manage/#team-membership).'
8559985617
operationId: UpdateTeamMembership
8560085618
parameters:
8560185619
- description: None

src/datadog_api_client/v2/api/teams_api.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -987,6 +987,8 @@ def create_team_membership(
987987
988988
Add a user to a team.
989989
990+
**Note** : Each team has a setting that determines who is allowed to modify membership of the team. The ``user_access_manage`` permission generally grants access to modify membership of any team. To get the full picture, see `Team Membership documentation <https://docs.datadoghq.com/account_management/teams/manage/#team-membership>`_.
991+
990992
:param team_id: None
991993
:type team_id: str
992994
:type body: UserTeamRequest
@@ -1063,6 +1065,8 @@ def delete_team_membership(
10631065
10641066
Remove a user from a team.
10651067
1068+
**Note** : Each team has a setting that determines who is allowed to modify membership of the team. The ``user_access_manage`` permission generally grants access to modify membership of any team. To get the full picture, see `Team Membership documentation <https://docs.datadoghq.com/account_management/teams/manage/#team-membership>`_.
1069+
10661070
:param team_id: None
10671071
:type team_id: str
10681072
:param user_id: None
@@ -1830,6 +1834,8 @@ def update_team_membership(
18301834
18311835
Update a user's membership attributes on a team.
18321836
1837+
**Note** : Each team has a setting that determines who is allowed to modify membership of the team. The ``user_access_manage`` permission generally grants access to modify membership of any team. To get the full picture, see `Team Membership documentation <https://docs.datadoghq.com/account_management/teams/manage/#team-membership>`_.
1838+
18331839
:param team_id: None
18341840
:type team_id: str
18351841
:param user_id: None

0 commit comments

Comments
 (0)