From 653d907c133cc0d6319fac68bafa88d584e899f0 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 9 Dec 2025 09:22:25 +0000 Subject: [PATCH] Regenerate client from commit 05dc819 of spec repo --- .generator/schemas/v2/openapi.yaml | 24 ++++++++++++++++--- .../datadog/api/client/v2/api/TeamsApi.java | 18 ++++++++++++++ 2 files changed, 39 insertions(+), 3 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 5e51793fc23..dad178ca22d 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -85658,7 +85658,13 @@ paths: permissions: - teams_read post: - description: Add a user to a team. + description: 'Add a user to a team. + + + **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).' operationId: CreateTeamMembership parameters: - description: None @@ -85711,7 +85717,13 @@ paths: - teams_read /api/v2/team/{team_id}/memberships/{user_id}: delete: - description: Remove a user from a team. + description: 'Remove a user from a team. + + + **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).' operationId: DeleteTeamMembership parameters: - description: None @@ -85752,7 +85764,13 @@ paths: permissions: - teams_read patch: - description: Update a user's membership attributes on a team. + description: 'Update a user''s membership attributes on a team. + + + **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).' operationId: UpdateTeamMembership parameters: - description: None diff --git a/src/main/java/com/datadog/api/client/v2/api/TeamsApi.java b/src/main/java/com/datadog/api/client/v2/api/TeamsApi.java index e589875fc8c..537308ab103 100644 --- a/src/main/java/com/datadog/api/client/v2/api/TeamsApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/TeamsApi.java @@ -869,6 +869,12 @@ public CompletableFuture createTeamMembershipAsync( /** * Add a user to a team. * + *

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. + * * @param teamId None (required) * @param body (required) * @return ApiResponse<UserTeamResponse> @@ -1457,6 +1463,12 @@ public CompletableFuture deleteTeamMembershipAsync(String teamId, String u /** * Remove a user from a team. * + *

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. + * * @param teamId None (required) * @param userId None (required) * @return ApiResponse<Void> @@ -4957,6 +4969,12 @@ public CompletableFuture updateTeamMembershipAsync( /** * Update a user's membership attributes on a team. * + *

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. + * * @param teamId None (required) * @param userId None (required) * @param body (required)