# Get a list of all incident teams returns "OK" response require "datadog_api_client" DatadogAPIClient.configure do |config| config.unstable_operations["v2.list_incident_teams".to_sym] = true end api_instance = DatadogAPIClient::V2::IncidentTeamsAPI.new # there is a valid "team" in the system TEAM_DATA_ATTRIBUTES_NAME = ENV["TEAM_DATA_ATTRIBUTES_NAME"] opts = { filter: TEAM_DATA_ATTRIBUTES_NAME, } p api_instance.list_incident_teams(opts)