diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 16572dbd8..3c527ff90 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/src/datadogV2/api/api_teams.rs b/src/datadogV2/api/api_teams.rs index 6256b9128..bafc4e52c 100644 --- a/src/datadogV2/api/api_teams.rs +++ b/src/datadogV2/api/api_teams.rs @@ -1297,6 +1297,8 @@ impl TeamsAPI { } /// 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](). pub async fn create_team_membership( &self, team_id: String, @@ -1321,6 +1323,8 @@ impl TeamsAPI { } /// 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](). pub async fn create_team_membership_with_http_info( &self, team_id: String, @@ -1773,6 +1777,8 @@ impl TeamsAPI { } /// 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](). pub async fn delete_team_membership( &self, team_id: String, @@ -1788,6 +1794,8 @@ impl TeamsAPI { } /// 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](). pub async fn delete_team_membership_with_http_info( &self, team_id: String, @@ -4211,6 +4219,8 @@ impl TeamsAPI { } /// 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](). pub async fn update_team_membership( &self, team_id: String, @@ -4236,6 +4246,8 @@ impl TeamsAPI { } /// 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](). pub async fn update_team_membership_with_http_info( &self, team_id: String,