examples/v2/teams/UpdateTeam.rb in datadog_api_client-2.13.0 vs examples/v2/teams/UpdateTeam.rb in datadog_api_client-2.14.0
- old
+ new
@@ -11,9 +11,18 @@
body = DatadogAPIClient::V2::TeamUpdateRequest.new({
data: DatadogAPIClient::V2::TeamUpdate.new({
attributes: DatadogAPIClient::V2::TeamUpdateAttributes.new({
handle: DD_TEAM_DATA_ATTRIBUTES_HANDLE,
name: "Example Team updated",
+ avatar: "🥑",
+ banner: 7,
+ hidden_modules: [
+ "m3",
+ ],
+ visible_modules: [
+ "m1",
+ "m2",
+ ],
}),
type: DatadogAPIClient::V2::TeamType::TEAM,
}),
})
p api_instance.update_team(DD_TEAM_DATA_ID, body)