Skip to content

Commit a65d88e

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit a22a309 of spec repo
1 parent 8bdb7e4 commit a65d88e

File tree

2 files changed

+33
-3
lines changed

2 files changed

+33
-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/datadogV2/api/api_teams.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1297,6 +1297,8 @@ impl TeamsAPI {
12971297
}
12981298

12991299
/// Add a user to a team.
1300+
///
1301+
/// **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>).
13001302
pub async fn create_team_membership(
13011303
&self,
13021304
team_id: String,
@@ -1321,6 +1323,8 @@ impl TeamsAPI {
13211323
}
13221324

13231325
/// Add a user to a team.
1326+
///
1327+
/// **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>).
13241328
pub async fn create_team_membership_with_http_info(
13251329
&self,
13261330
team_id: String,
@@ -1773,6 +1777,8 @@ impl TeamsAPI {
17731777
}
17741778

17751779
/// Remove a user from a team.
1780+
///
1781+
/// **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>).
17761782
pub async fn delete_team_membership(
17771783
&self,
17781784
team_id: String,
@@ -1788,6 +1794,8 @@ impl TeamsAPI {
17881794
}
17891795

17901796
/// Remove a user from a team.
1797+
///
1798+
/// **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>).
17911799
pub async fn delete_team_membership_with_http_info(
17921800
&self,
17931801
team_id: String,
@@ -4211,6 +4219,8 @@ impl TeamsAPI {
42114219
}
42124220

42134221
/// Update a user's membership attributes on a team.
4222+
///
4223+
/// **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>).
42144224
pub async fn update_team_membership(
42154225
&self,
42164226
team_id: String,
@@ -4236,6 +4246,8 @@ impl TeamsAPI {
42364246
}
42374247

42384248
/// Update a user's membership attributes on a team.
4249+
///
4250+
/// **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>).
42394251
pub async fn update_team_membership_with_http_info(
42404252
&self,
42414253
team_id: String,

0 commit comments

Comments
 (0)