Skip to content

Commit 66e67f0

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 30cb5ab of spec repo
1 parent 0b06210 commit 66e67f0

File tree

2 files changed

+27
-3
lines changed

2 files changed

+27
-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

lib/datadog_api_client/v2/api/teams_api.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,8 @@ def create_team_membership(team_id, body, opts = {})
399399
#
400400
# Add a user to a team.
401401
#
402+
# **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).
403+
#
402404
# @param team_id [String] None
403405
# @param body [UserTeamRequest]
404406
# @param opts [Hash] the optional parameters
@@ -679,6 +681,8 @@ def delete_team_membership(team_id, user_id, opts = {})
679681
#
680682
# Remove a user from a team.
681683
#
684+
# **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).
685+
#
682686
# @param team_id [String] None
683687
# @param user_id [String] None
684688
# @param opts [Hash] the optional parameters
@@ -2097,6 +2101,8 @@ def update_team_membership(team_id, user_id, body, opts = {})
20972101
#
20982102
# Update a user's membership attributes on a team.
20992103
#
2104+
# **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).
2105+
#
21002106
# @param team_id [String] None
21012107
# @param user_id [String] None
21022108
# @param body [UserTeamUpdateRequest]

0 commit comments

Comments
 (0)