From 64f70d5743d5f39fbd0ebcb252872b41d3799130 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 25 Mar 2026 19:01:42 +0000 Subject: [PATCH] Regenerate client from commit 646862c of spec repo --- .../frozen.json | 1 + .../recording.har | 327 ++++++++++++++++++ .../frozen.json | 1 + .../recording.har | 157 +++++++++ examples/v2/teams/DeleteTeamMembership.ts | 5 +- examples/v2/teams/UpdateTeam_780342264.ts | 35 ++ features/v2/teams.feature | 25 +- 7 files changed, 545 insertions(+), 6 deletions(-) create mode 100644 cassettes/v2/Teams_3116892301/Remove-a-user-from-a-team-returns-No-Content-response_780396395/frozen.json create mode 100644 cassettes/v2/Teams_3116892301/Remove-a-user-from-a-team-returns-No-Content-response_780396395/recording.har create mode 100644 cassettes/v2/Teams_3116892301/Update-a-team-with-partial-update-returns-OK-response_2029627264/frozen.json create mode 100644 cassettes/v2/Teams_3116892301/Update-a-team-with-partial-update-returns-OK-response_2029627264/recording.har create mode 100644 examples/v2/teams/UpdateTeam_780342264.ts diff --git a/cassettes/v2/Teams_3116892301/Remove-a-user-from-a-team-returns-No-Content-response_780396395/frozen.json b/cassettes/v2/Teams_3116892301/Remove-a-user-from-a-team-returns-No-Content-response_780396395/frozen.json new file mode 100644 index 000000000000..003a629519d0 --- /dev/null +++ b/cassettes/v2/Teams_3116892301/Remove-a-user-from-a-team-returns-No-Content-response_780396395/frozen.json @@ -0,0 +1 @@ +"2026-03-25T10:51:13.320Z" diff --git a/cassettes/v2/Teams_3116892301/Remove-a-user-from-a-team-returns-No-Content-response_780396395/recording.har b/cassettes/v2/Teams_3116892301/Remove-a-user-from-a-team-returns-No-Content-response_780396395/recording.har new file mode 100644 index 000000000000..88b6f446c289 --- /dev/null +++ b/cassettes/v2/Teams_3116892301/Remove-a-user-from-a-team-returns-No-Content-response_780396395/recording.har @@ -0,0 +1,327 @@ +{ + "log": { + "_recordingName": "Teams/Remove a user from a team returns \"No Content\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "06adab815152105a98eb24da866c8255", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 115, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 572, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-789e569afaa52bde\",\"name\":\"test-name-789e569afaa52bde\"},\"type\":\"team\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/team" + }, + "response": { + "bodySize": 660, + "content": { + "mimeType": "application/vnd.api+json", + "size": 660, + "text": "{\"data\":{\"id\":\"1d059472-0eff-4857-a6c8-5e5041448b54\",\"type\":\"team\",\"attributes\":{\"avatar\":null,\"banner\":5,\"created_at\":\"2026-03-25T10:51:13.938804+00:00\",\"description\":null,\"handle\":\"test-handle-789e569afaa52bde\",\"hidden_modules\":null,\"is_managed\":false,\"link_count\":0,\"modified_at\":\"2026-03-25T10:51:13.938804+00:00\",\"name\":\"test-name-789e569afaa52bde\",\"summary\":null,\"user_count\":0,\"visible_modules\":null},\"relationships\":{\"team_links\":{\"data\":[],\"links\":{\"related\":\"/api/v2/team/1d059472-0eff-4857-a6c8-5e5041448b54/links\"}},\"user_team_permissions\":{\"data\":null,\"links\":{\"related\":\"/api/v2/team/1d059472-0eff-4857-a6c8-5e5041448b54/permission-settings\"}}}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 662, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2026-03-25T10:51:13.323Z", + "time": 517 + }, + { + "_id": "3dc77df119011be1eb29329a067fc083", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 155, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 573, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Remove_a_user_from_a_team_returns_No_Content_response-1774435873@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/users" + }, + "response": { + "bodySize": 774, + "content": { + "mimeType": "application/json", + "size": 774, + "text": "{\"data\": {\"type\": \"users\", \"id\": \"66e25b0b-3f3b-427e-b162-e779f4535abb\", \"attributes\": {\"name\": null, \"handle\": \"test-remove_a_user_from_a_team_returns_no_content_response-1774435873@datadoghq.com\", \"created_at\": \"2026-03-25T10:51:14.481612+00:00\", \"modified_at\": \"2026-03-25T10:51:14.481612+00:00\", \"email\": \"test-remove_a_user_from_a_team_returns_no_content_response-1774435873@datadoghq.com\", \"icon\": \"https://secure.gravatar.com/avatar/be9f1c5abecde28b4c01cc8aa0680377?s=48&d=retro\", \"title\": \"user title\", \"verified\": false, \"service_account\": false, \"disabled\": false, \"allowed_login_methods\": [], \"status\": \"Pending\", \"last_login_time\": null}, \"relationships\": {\"roles\": {\"data\": []}, \"org\": {\"data\": {\"type\": \"orgs\", \"id\": \"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 681, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2026-03-25T10:51:13.861Z", + "time": 521 + }, + { + "_id": "ad5388a00a4853638709c59f5cbfee62", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 161, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 631, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"role\":\"admin\"},\"relationships\":{\"user\":{\"data\":{\"id\":\"66e25b0b-3f3b-427e-b162-e779f4535abb\",\"type\":\"users\"}}},\"type\":\"team_memberships\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/team/1d059472-0eff-4857-a6c8-5e5041448b54/memberships" + }, + "response": { + "bodySize": 755, + "content": { + "mimeType": "application/vnd.api+json", + "size": 755, + "text": "{\"data\":{\"id\":\"TeamMembership-1d059472-0eff-4857-a6c8-5e5041448b54-66092046\",\"type\":\"team_memberships\",\"attributes\":{\"provisioned_by\":null,\"provisioned_by_id\":\"a1d5ff5a-c6dd-11f0-9cb6-06640ca27ad4\",\"role\":\"admin\"},\"relationships\":{\"user\":{\"data\":{\"id\":\"66e25b0b-3f3b-427e-b162-e779f4535abb\",\"type\":\"users\"}}}},\"included\":[{\"id\":\"66e25b0b-3f3b-427e-b162-e779f4535abb\",\"type\":\"users\",\"attributes\":{\"disabled\":false,\"email\":\"test-remove_a_user_from_a_team_returns_no_content_response-1774435873@datadoghq.com\",\"handle\":\"test-remove_a_user_from_a_team_returns_no_content_response-1774435873@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/be9f1c5abecde28b4c01cc8aa0680377?d=retro\\u0026s=48\",\"name\":null,\"service_account\":false,\"status\":\"Pending\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 662, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-03-25T10:51:14.391Z", + "time": 214 + }, + { + "_id": "3aeec0bdeac4015d33e53eade6d0f1cf", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 604, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/team/1d059472-0eff-4857-a6c8-5e5041448b54/memberships/66e25b0b-3f3b-427e-b162-e779f4535abb" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 632, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2026-03-25T10:51:14.614Z", + "time": 513 + }, + { + "_id": "3aeec0bdeac4015d33e53eade6d0f1cf", + "_order": 1, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 604, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/team/1d059472-0eff-4857-a6c8-5e5041448b54/memberships/66e25b0b-3f3b-427e-b162-e779f4535abb" + }, + "response": { + "bodySize": 127, + "content": { + "mimeType": "application/json", + "size": 127, + "text": "{\"errors\":[\"User 66e25b0b-3f3b-427e-b162-e779f4535abb is not a member of Team 1d059472-0eff-4857-a6c8-5e5041448b54 not found\"]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 685, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2026-03-25T10:51:15.139Z", + "time": 542 + }, + { + "_id": "d4b0b03d26439397d8c09dfe0a6b9934", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 547, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/users/66e25b0b-3f3b-427e-b162-e779f4535abb" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 495, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2026-03-25T10:51:15.686Z", + "time": 745 + }, + { + "_id": "6dd9b9f9509141eb17468737f2857a45", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 545, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/team/1d059472-0eff-4857-a6c8-5e5041448b54" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 632, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2026-03-25T10:51:16.436Z", + "time": 580 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Teams_3116892301/Update-a-team-with-partial-update-returns-OK-response_2029627264/frozen.json b/cassettes/v2/Teams_3116892301/Update-a-team-with-partial-update-returns-OK-response_2029627264/frozen.json new file mode 100644 index 000000000000..6851c218d76a --- /dev/null +++ b/cassettes/v2/Teams_3116892301/Update-a-team-with-partial-update-returns-OK-response_2029627264/frozen.json @@ -0,0 +1 @@ +"2026-03-25T11:58:33.497Z" diff --git a/cassettes/v2/Teams_3116892301/Update-a-team-with-partial-update-returns-OK-response_2029627264/recording.har b/cassettes/v2/Teams_3116892301/Update-a-team-with-partial-update-returns-OK-response_2029627264/recording.har new file mode 100644 index 000000000000..e6823101ff83 --- /dev/null +++ b/cassettes/v2/Teams_3116892301/Update-a-team-with-partial-update-returns-OK-response_2029627264/recording.har @@ -0,0 +1,157 @@ +{ + "log": { + "_recordingName": "Teams/Update a team with partial update returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "ccd9e7c939b8d4e0131c9326f37c9d97", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 115, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 574, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-1aa8ea88c040ca48\",\"name\":\"test-name-1aa8ea88c040ca48\"},\"type\":\"team\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/team" + }, + "response": { + "bodySize": 661, + "content": { + "mimeType": "application/vnd.api+json", + "size": 661, + "text": "{\"data\":{\"id\":\"5f6e649c-340c-46e7-96bc-bc5ececc7839\",\"type\":\"team\",\"attributes\":{\"avatar\":null,\"banner\":15,\"created_at\":\"2026-03-25T11:58:34.181069+00:00\",\"description\":null,\"handle\":\"test-handle-1aa8ea88c040ca48\",\"hidden_modules\":null,\"is_managed\":false,\"link_count\":0,\"modified_at\":\"2026-03-25T11:58:34.181069+00:00\",\"name\":\"test-name-1aa8ea88c040ca48\",\"summary\":null,\"user_count\":0,\"visible_modules\":null},\"relationships\":{\"team_links\":{\"data\":[],\"links\":{\"related\":\"/api/v2/team/5f6e649c-340c-46e7-96bc-bc5ececc7839/links\"}},\"user_team_permissions\":{\"data\":null,\"links\":{\"related\":\"/api/v2/team/5f6e649c-340c-46e7-96bc-bc5ececc7839/permission-settings\"}}}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 662, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2026-03-25T11:58:33.500Z", + "time": 501 + }, + { + "_id": "e090e31af93e3c025f5dcf1169aa5d80", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 123, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 612, + "httpVersion": "HTTP/1.1", + "method": "PATCH", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-1aa8ea88c040ca48\",\"name\":\"test-name-1aa8ea88c040ca48 updated\"},\"type\":\"team\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/team/5f6e649c-340c-46e7-96bc-bc5ececc7839" + }, + "response": { + "bodySize": 648, + "content": { + "mimeType": "application/json", + "size": 648, + "text": "{\"data\":{\"type\":\"team\",\"id\":\"5f6e649c-340c-46e7-96bc-bc5ececc7839\",\"attributes\":{\"name\":\"test-name-1aa8ea88c040ca48 updated\",\"handle\":\"test-handle-1aa8ea88c040ca48\",\"summary\":null,\"description\":null,\"avatar\":null,\"banner\":15,\"visible_modules\":null,\"hidden_modules\":null,\"created_at\":\"2026-03-25T11:58:34.181069+00:00\",\"modified_at\":\"2026-03-25T11:58:34.727617+00:00\",\"user_count\":0,\"link_count\":0,\"is_managed\":false},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/5f6e649c-340c-46e7-96bc-bc5ececc7839/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/5f6e649c-340c-46e7-96bc-bc5ececc7839/permission-settings\"}}}}}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 685, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-03-25T11:58:34.009Z", + "time": 573 + }, + { + "_id": "20ab5a15805032eb841bb60db95008d0", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 547, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/team/5f6e649c-340c-46e7-96bc-bc5ececc7839" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 632, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2026-03-25T11:58:34.592Z", + "time": 325 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/examples/v2/teams/DeleteTeamMembership.ts b/examples/v2/teams/DeleteTeamMembership.ts index 27093f1d0b12..e913b35f54d2 100644 --- a/examples/v2/teams/DeleteTeamMembership.ts +++ b/examples/v2/teams/DeleteTeamMembership.ts @@ -10,9 +10,12 @@ const apiInstance = new v2.TeamsApi(configuration); // there is a valid "dd_team" in the system const DD_TEAM_DATA_ID = process.env.DD_TEAM_DATA_ID as string; +// there is a valid "user" in the system +const USER_DATA_ID = process.env.USER_DATA_ID as string; + const params: v2.TeamsApiDeleteTeamMembershipRequest = { teamId: DD_TEAM_DATA_ID, - userId: "user_id", + userId: USER_DATA_ID, }; apiInstance diff --git a/examples/v2/teams/UpdateTeam_780342264.ts b/examples/v2/teams/UpdateTeam_780342264.ts new file mode 100644 index 000000000000..fc047938d043 --- /dev/null +++ b/examples/v2/teams/UpdateTeam_780342264.ts @@ -0,0 +1,35 @@ +/** + * Update a team with partial update returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.TeamsApi(configuration); + +// there is a valid "dd_team" in the system +const DD_TEAM_DATA_ATTRIBUTES_HANDLE = process.env + .DD_TEAM_DATA_ATTRIBUTES_HANDLE as string; +const DD_TEAM_DATA_ID = process.env.DD_TEAM_DATA_ID as string; + +const params: v2.TeamsApiUpdateTeamRequest = { + body: { + data: { + attributes: { + handle: DD_TEAM_DATA_ATTRIBUTES_HANDLE, + name: "Example Team updated", + }, + type: "team", + }, + }, + teamId: DD_TEAM_DATA_ID, +}; + +apiInstance + .updateTeam(params) + .then((data: v2.TeamResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/features/v2/teams.feature b/features/v2/teams.feature index 480e3215e994..50f7f314684d 100644 --- a/features/v2/teams.feature +++ b/features/v2/teams.feature @@ -573,12 +573,14 @@ Feature: Teams When the request is sent Then the response status is 404 API error response. - @skip @team:DataDog/aaa-omg + @team:DataDog/aaa-omg Scenario: Remove a user from a team returns "No Content" response Given new "DeleteTeamMembership" request And there is a valid "dd_team" in the system + And there is a valid "user" in the system + And there is a valid "team_membership" in the system And request contains "team_id" parameter from "dd_team.data.id" - And request contains "user_id" parameter from "REPLACE.ME" + And request contains "user_id" parameter from "user.data.id" When the request is sent Then the response status is 204 No Content @@ -607,11 +609,13 @@ Feature: Teams And the response "data.attributes.label" is equal to "New Label" And the response "data.attributes.url" is equal to "https://example.com" - @generated @skip @team:DataDog/aaa-omg + @skip @team:DataDog/aaa-omg Scenario: Update a team returns "API error response." response Given new "UpdateTeam" request - And request contains "team_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"avatar": "\ud83e\udd51", "banner": null, "handle": "example-team", "hidden_modules": [], "name": "Example Team", "visible_modules": []}, "relationships": {"team_links": {"data": [{"id": "f9bb8444-af7f-11ec-ac2c-da7ad0900001", "type": "team_links"}], "links": {"related": "/api/v2/team/c75a4a8e-20c7-11ee-a3a5-da7ad0900002/links"}}}, "type": "team"}} + And there is a valid "dd_team" in the system + And there is a valid "dd_team_2" in the system + And request contains "team_id" parameter from "dd_team.data.id" + And body with value {"data": {"attributes": {"handle": "{{dd_team_2.data.attributes.handle}}", "name": "{{dd_team.data.attributes.name}}"}, "type": "team"}} When the request is sent Then the response status is 409 API error response. @@ -631,6 +635,17 @@ Feature: Teams And the response "data.attributes.hidden_modules" is equal to ["m3"] And the response "data.attributes.visible_modules" is equal to ["m1", "m2"] + @team:DataDog/aaa-omg + Scenario: Update a team with partial update returns "OK" response + Given new "UpdateTeam" request + And there is a valid "dd_team" in the system + And request contains "team_id" parameter from "dd_team.data.id" + And body with value {"data": {"attributes": {"handle": "{{dd_team.data.attributes.handle}}", "name": "{{dd_team.data.attributes.name}} updated"}, "type": "team"}} + When the request is sent + Then the response status is 200 OK + And the response "data.attributes.name" is equal to "{{dd_team.data.attributes.name}} updated" + And the response "data.attributes.handle" is equal to "{{dd_team.data.attributes.handle}}" + @team:DataDog/aaa-omg Scenario: Update a user's membership attributes on a team returns "API error response." response Given new "UpdateTeamMembership" request