From c1a4f2fd10046fc8340b1f7d01b931b3960d8086 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 5 Dec 2025 16:39:02 +0000 Subject: [PATCH] Regenerate client from commit a22a309 of spec repo --- .generator/schemas/v2/openapi.yaml | 24 +++++++++++++++++++++--- services/teams/src/v2/TeamsApi.ts | 6 ++++++ 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 16572dbd871b..3c527ff902de 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -85501,7 +85501,13 @@ paths: permissions: - teams_read post: - description: Add a user to a team. + description: 'Add a user to a team. + + + **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).' operationId: CreateTeamMembership parameters: - description: None @@ -85554,7 +85560,13 @@ paths: - teams_read /api/v2/team/{team_id}/memberships/{user_id}: delete: - description: Remove a user from a team. + description: 'Remove a user from a team. + + + **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).' operationId: DeleteTeamMembership parameters: - description: None @@ -85595,7 +85607,13 @@ paths: permissions: - teams_read patch: - description: Update a user's membership attributes on a team. + description: 'Update a user''s membership attributes on a team. + + + **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).' operationId: UpdateTeamMembership parameters: - description: None diff --git a/services/teams/src/v2/TeamsApi.ts b/services/teams/src/v2/TeamsApi.ts index 77f7496d8215..ed86d14651b5 100644 --- a/services/teams/src/v2/TeamsApi.ts +++ b/services/teams/src/v2/TeamsApi.ts @@ -3925,6 +3925,8 @@ export class TeamsApi { /** * Add a user to a team. + * + * **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). * @param param The request object */ public createTeamMembership( @@ -4011,6 +4013,8 @@ export class TeamsApi { /** * Remove a user from a team. + * + * **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). * @param param The request object */ public deleteTeamMembership( @@ -4648,6 +4652,8 @@ export class TeamsApi { /** * Update a user's membership attributes on a team. + * + * **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). * @param param The request object */ public updateTeamMembership(