Skip to content

Commit 4b63ea0

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 20164b5 of spec repo
1 parent f112cad commit 4b63ea0

File tree

3 files changed

+28
-4
lines changed

3 files changed

+28
-4
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84010,7 +84010,13 @@ paths:
8401084010
permissions:
8401184011
- teams_read
8401284012
post:
84013-
description: Add a user to a team.
84013+
description: 'Add a user to a team.
84014+
84015+
84016+
**Note**: Each team has a setting that determines who is allowed to modify
84017+
membership of the team. The `user_access_manage` permission generally grants
84018+
access to modify membership of any team. To get the full picture, see [Team
84019+
Membership documentation](https://docs.datadoghq.com/account_management/teams/manage/#team-membership).'
8401484020
operationId: CreateTeamMembership
8401584021
parameters:
8401684022
- description: None
@@ -84063,7 +84069,13 @@ paths:
8406384069
- teams_read
8406484070
/api/v2/team/{team_id}/memberships/{user_id}:
8406584071
delete:
84066-
description: Remove a user from a team.
84072+
description: 'Remove a user from a team.
84073+
84074+
84075+
**Note**: Each team has a setting that determines who is allowed to modify
84076+
membership of the team. The `user_access_manage` permission generally grants
84077+
access to modify membership of any team. To get the full picture, see [Team
84078+
Membership documentation](https://docs.datadoghq.com/account_management/teams/manage/#team-membership).'
8406784079
operationId: DeleteTeamMembership
8406884080
parameters:
8406984081
- description: None
@@ -84104,7 +84116,13 @@ paths:
8410484116
permissions:
8410584117
- teams_read
8410684118
patch:
84107-
description: Update a user's membership attributes on a team.
84119+
description: 'Update a user''s membership attributes on a team.
84120+
84121+
84122+
**Note**: Each team has a setting that determines who is allowed to modify
84123+
membership of the team. The `user_access_manage` permission generally grants
84124+
access to modify membership of any team. To get the full picture, see [Team
84125+
Membership documentation](https://docs.datadoghq.com/account_management/teams/manage/#team-membership).'
8410884126
operationId: UpdateTeamMembership
8410984127
parameters:
8411084128
- 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
@@ -876,6 +876,8 @@ def create_team_membership(
876876
877877
Add a user to a team.
878878
879+
**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>`_.
880+
879881
:param team_id: None
880882
:type team_id: str
881883
:type body: UserTeamRequest
@@ -936,6 +938,8 @@ def delete_team_membership(
936938
937939
Remove a user from a team.
938940
941+
**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>`_.
942+
939943
:param team_id: None
940944
:type team_id: str
941945
:param user_id: None
@@ -1593,6 +1597,8 @@ def update_team_membership(
15931597
15941598
Update a user's membership attributes on a team.
15951599
1600+
**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>`_.
1601+
15961602
:param team_id: None
15971603
:type team_id: str
15981604
:param user_id: None

tests/v2/features/given.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@
350350
"parameters": [
351351
{
352352
"name": "body",
353-
"value": "{\n \"data\": {\n \"type\": \"deployment_gate\",\n \"attributes\": {\n \"service\": \"my-service\",\n \"env\": \"production\",\n \"identifier\": \"my-gate-{{ unique_lower_alnum }}\",\n \"dry_run\": false\n }\n }\n}"
353+
"value": "{\n \"data\": {\n \"type\": \"deployment_gate\",\n \"attributes\": {\n \"service\": \"my-service\",\n \"env\": \"production\",\n \"identifier\": \"my-gate\",\n \"dry_run\": false\n }\n }\n}"
354354
}
355355
],
356356
"step": "there is a valid \"deployment_gate\" in the system",

0 commit comments

Comments
 (0)