Skip to content

Commit 8e8f959

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit b889c52 of spec repo
1 parent db61c8f commit 8e8f959

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
@@ -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/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)