Skip to content

Commit 89d81c2

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 30cb5ab of spec repo
1 parent 33d61f4 commit 89d81c2

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