Skip to content

Commit 9df33f2

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit a22a309 of spec repo
1 parent 3ae6b11 commit 9df33f2

File tree

2 files changed

+39
-3
lines changed

2 files changed

+39
-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/main/java/com/datadog/api/client/v2/api/TeamsApi.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -869,6 +869,12 @@ public CompletableFuture<UserTeamResponse> createTeamMembershipAsync(
869869
/**
870870
* Add a user to a team.
871871
*
872+
* <p><strong>Note</strong>: Each team has a setting that determines who is allowed to modify
873+
* membership of the team. The <code>user_access_manage</code> permission generally grants access
874+
* to modify membership of any team. To get the full picture, see <a
875+
* href="https://docs.datadoghq.com/account_management/teams/manage/#team-membership">Team
876+
* Membership documentation</a>.
877+
*
872878
* @param teamId None (required)
873879
* @param body (required)
874880
* @return ApiResponse&lt;UserTeamResponse&gt;
@@ -1457,6 +1463,12 @@ public CompletableFuture<Void> deleteTeamMembershipAsync(String teamId, String u
14571463
/**
14581464
* Remove a user from a team.
14591465
*
1466+
* <p><strong>Note</strong>: Each team has a setting that determines who is allowed to modify
1467+
* membership of the team. The <code>user_access_manage</code> permission generally grants access
1468+
* to modify membership of any team. To get the full picture, see <a
1469+
* href="https://docs.datadoghq.com/account_management/teams/manage/#team-membership">Team
1470+
* Membership documentation</a>.
1471+
*
14601472
* @param teamId None (required)
14611473
* @param userId None (required)
14621474
* @return ApiResponse&lt;Void&gt;
@@ -4957,6 +4969,12 @@ public CompletableFuture<UserTeamResponse> updateTeamMembershipAsync(
49574969
/**
49584970
* Update a user's membership attributes on a team.
49594971
*
4972+
* <p><strong>Note</strong>: Each team has a setting that determines who is allowed to modify
4973+
* membership of the team. The <code>user_access_manage</code> permission generally grants access
4974+
* to modify membership of any team. To get the full picture, see <a
4975+
* href="https://docs.datadoghq.com/account_management/teams/manage/#team-membership">Team
4976+
* Membership documentation</a>.
4977+
*
49604978
* @param teamId None (required)
49614979
* @param userId None (required)
49624980
* @param body (required)

0 commit comments

Comments
 (0)