From 146b999fec3e2351870c442b14b527d294bfd2a4 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 5 Dec 2025 16:38:44 +0000 Subject: [PATCH] Regenerate client from commit a22a309 of spec repo --- .generator/schemas/v2/openapi.yaml | 24 +++++++++++++++++++--- lib/datadog_api_client/v2/api/teams_api.rb | 6 ++++++ 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 16572dbd871..3c527ff902d 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -85501,7 +85501,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 @@ -85554,7 +85560,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 @@ -85595,7 +85607,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/lib/datadog_api_client/v2/api/teams_api.rb b/lib/datadog_api_client/v2/api/teams_api.rb index d4cc6e99b74..95a0824385b 100644 --- a/lib/datadog_api_client/v2/api/teams_api.rb +++ b/lib/datadog_api_client/v2/api/teams_api.rb @@ -399,6 +399,8 @@ def create_team_membership(team_id, body, opts = {}) # # 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). + # # @param team_id [String] None # @param body [UserTeamRequest] # @param opts [Hash] the optional parameters @@ -679,6 +681,8 @@ def delete_team_membership(team_id, user_id, opts = {}) # # 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). + # # @param team_id [String] None # @param user_id [String] None # @param opts [Hash] the optional parameters @@ -2097,6 +2101,8 @@ def update_team_membership(team_id, user_id, body, opts = {}) # # 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). + # # @param team_id [String] None # @param user_id [String] None # @param body [UserTeamUpdateRequest]