Skip to content

Commit 317ce3a

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 20164b5 of spec repo
1 parent 73a6de3 commit 317ce3a

File tree

3 files changed

+28
-4
lines changed

3 files changed

+28
-4
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84010,7 +84010,13 @@ paths:
8401084010
permissions:
8401184011
- teams_read
8401284012
post:
84013-
description: Add a user to a team.
84013+
description: 'Add a user to a team.
84014+
84015+
84016+
**Note**: Each team has a setting that determines who is allowed to modify
84017+
membership of the team. The `user_access_manage` permission generally grants
84018+
access to modify membership of any team. To get the full picture, see [Team
84019+
Membership documentation](https://docs.datadoghq.com/account_management/teams/manage/#team-membership).'
8401484020
operationId: CreateTeamMembership
8401584021
parameters:
8401684022
- description: None
@@ -84063,7 +84069,13 @@ paths:
8406384069
- teams_read
8406484070
/api/v2/team/{team_id}/memberships/{user_id}:
8406584071
delete:
84066-
description: Remove a user from a team.
84072+
description: 'Remove a user from a team.
84073+
84074+
84075+
**Note**: Each team has a setting that determines who is allowed to modify
84076+
membership of the team. The `user_access_manage` permission generally grants
84077+
access to modify membership of any team. To get the full picture, see [Team
84078+
Membership documentation](https://docs.datadoghq.com/account_management/teams/manage/#team-membership).'
8406784079
operationId: DeleteTeamMembership
8406884080
parameters:
8406984081
- description: None
@@ -84104,7 +84116,13 @@ paths:
8410484116
permissions:
8410584117
- teams_read
8410684118
patch:
84107-
description: Update a user's membership attributes on a team.
84119+
description: 'Update a user''s membership attributes on a team.
84120+
84121+
84122+
**Note**: Each team has a setting that determines who is allowed to modify
84123+
membership of the team. The `user_access_manage` permission generally grants
84124+
access to modify membership of any team. To get the full picture, see [Team
84125+
Membership documentation](https://docs.datadoghq.com/account_management/teams/manage/#team-membership).'
8410884126
operationId: UpdateTeamMembership
8410984127
parameters:
8411084128
- description: None

features/v2/given.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@
350350
"parameters": [
351351
{
352352
"name": "body",
353-
"value": "{\n \"data\": {\n \"type\": \"deployment_gate\",\n \"attributes\": {\n \"service\": \"my-service\",\n \"env\": \"production\",\n \"identifier\": \"my-gate-{{ unique_lower_alnum }}\",\n \"dry_run\": false\n }\n }\n}"
353+
"value": "{\n \"data\": {\n \"type\": \"deployment_gate\",\n \"attributes\": {\n \"service\": \"my-service\",\n \"env\": \"production\",\n \"identifier\": \"my-gate\",\n \"dry_run\": false\n }\n }\n}"
354354
}
355355
],
356356
"step": "there is a valid \"deployment_gate\" in the system",

lib/datadog_api_client/v2/api/teams_api.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,8 @@ def create_team_membership(team_id, body, opts = {})
326326
#
327327
# Add a user to a team.
328328
#
329+
# **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).
330+
#
329331
# @param team_id [String] None
330332
# @param body [UserTeamRequest]
331333
# @param opts [Hash] the optional parameters
@@ -533,6 +535,8 @@ def delete_team_membership(team_id, user_id, opts = {})
533535
#
534536
# Remove a user from a team.
535537
#
538+
# **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).
539+
#
536540
# @param team_id [String] None
537541
# @param user_id [String] None
538542
# @param opts [Hash] the optional parameters
@@ -1851,6 +1855,8 @@ def update_team_membership(team_id, user_id, body, opts = {})
18511855
#
18521856
# Update a user's membership attributes on a team.
18531857
#
1858+
# **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).
1859+
#
18541860
# @param team_id [String] None
18551861
# @param user_id [String] None
18561862
# @param body [UserTeamUpdateRequest]

0 commit comments

Comments
 (0)