Skip to content

Commit 146b999

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit a22a309 of spec repo
1 parent 981a9b0 commit 146b999

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

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)