Sha256: 7ba4315260833575d6f2a625618363c2fb97e5f03bed962f67c76bad9b8141f1

Contents?: true

Size: 446 Bytes

Versions: 26

Compression:

Stored size: 446 Bytes

Contents

# Bulk Delete SLO Timeframes returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::ServiceLevelObjectivesAPI.new

body = {
  id1: [
    DatadogAPIClient::V1::SLOTimeframe::SEVEN_DAYS,
    DatadogAPIClient::V1::SLOTimeframe::THIRTY_DAYS,
  ], id2: [
    DatadogAPIClient::V1::SLOTimeframe::SEVEN_DAYS,
    DatadogAPIClient::V1::SLOTimeframe::THIRTY_DAYS,
  ],
}
p api_instance.delete_slo_timeframe_in_bulk(body)

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
datadog_api_client-2.8.0 examples/v1/service-level-objectives/DeleteSLOTimeframeInBulk.rb
datadog_api_client-2.7.0 examples/v1/service-level-objectives/DeleteSLOTimeframeInBulk.rb
datadog_api_client-2.6.0 examples/v1/service-level-objectives/DeleteSLOTimeframeInBulk.rb
datadog_api_client-2.5.0 examples/v1/service-level-objectives/DeleteSLOTimeframeInBulk.rb
datadog_api_client-2.4.0 examples/v1/service-level-objectives/DeleteSLOTimeframeInBulk.rb
datadog_api_client-2.3.0 examples/v1/service-level-objectives/DeleteSLOTimeframeInBulk.rb