Skip to content

Commit 09eecfc

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit b889c52 of spec repo
1 parent 99693fa commit 09eecfc

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
@@ -84852,7 +84852,13 @@ paths:
8485284852
permissions:
8485384853
- teams_read
8485484854
post:
84855-
description: Add a user to a team.
84855+
description: 'Add a user to a team.
84856+
84857+
84858+
**Note**: Each team has a setting that determines who is allowed to modify
84859+
membership of the team. The `user_access_manage` permission generally grants
84860+
access to modify membership of any team. To get the full picture, see [Team
84861+
Membership documentation](https://docs.datadoghq.com/account_management/teams/manage/#team-membership).'
8485684862
operationId: CreateTeamMembership
8485784863
parameters:
8485884864
- description: None
@@ -84905,7 +84911,13 @@ paths:
8490584911
- teams_read
8490684912
/api/v2/team/{team_id}/memberships/{user_id}:
8490784913
delete:
84908-
description: Remove a user from a team.
84914+
description: 'Remove a user from a team.
84915+
84916+
84917+
**Note**: Each team has a setting that determines who is allowed to modify
84918+
membership of the team. The `user_access_manage` permission generally grants
84919+
access to modify membership of any team. To get the full picture, see [Team
84920+
Membership documentation](https://docs.datadoghq.com/account_management/teams/manage/#team-membership).'
8490984921
operationId: DeleteTeamMembership
8491084922
parameters:
8491184923
- description: None
@@ -84946,7 +84958,13 @@ paths:
8494684958
permissions:
8494784959
- teams_read
8494884960
patch:
84949-
description: Update a user's membership attributes on a team.
84961+
description: 'Update a user''s membership attributes on a team.
84962+
84963+
84964+
**Note**: Each team has a setting that determines who is allowed to modify
84965+
membership of the team. The `user_access_manage` permission generally grants
84966+
access to modify membership of any team. To get the full picture, see [Team
84967+
Membership documentation](https://docs.datadoghq.com/account_management/teams/manage/#team-membership).'
8495084968
operationId: UpdateTeamMembership
8495184969
parameters:
8495284970
- 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)