Sha256: 26fbac21dece7e2e1393858bcb1e28b7716530caf8b50b5b9072a75a46d2f2ea

Contents?: true

Size: 273 Bytes

Versions: 15

Compression:

Stored size: 273 Bytes

Contents

# Cancel a downtime returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::DowntimesAPI.new

# there is a valid "downtime_v2" in the system
DOWNTIME_V2_DATA_ID = ENV["DOWNTIME_V2_DATA_ID"]
api_instance.cancel_downtime(DOWNTIME_V2_DATA_ID)

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
datadog_api_client-2.29.1 examples/v2/downtimes/CancelDowntime.rb
datadog_api_client-2.28.1 examples/v2/downtimes/CancelDowntime.rb
datadog_api_client-2.27.1 examples/v2/downtimes/CancelDowntime.rb
datadog_api_client-2.26.1 examples/v2/downtimes/CancelDowntime.rb
datadog_api_client-2.26.0 examples/v2/downtimes/CancelDowntime.rb
datadog_api_client-2.25.0 examples/v2/downtimes/CancelDowntime.rb
datadog_api_client-2.24.0 examples/v2/downtimes/CancelDowntime.rb
datadog_api_client-2.22.0 examples/v2/downtimes/CancelDowntime.rb
datadog_api_client-2.21.0 examples/v2/downtimes/CancelDowntime.rb
datadog_api_client-2.20.0 examples/v2/downtimes/CancelDowntime.rb
datadog_api_client-2.19.0 examples/v2/downtimes/CancelDowntime.rb
datadog_api_client-2.18.0 examples/v2/downtimes/CancelDowntime.rb
datadog_api_client-2.17.0 examples/v2/downtimes/CancelDowntime.rb
datadog_api_client-2.16.0 examples/v2/downtimes/CancelDowntime.rb
datadog_api_client-2.15.0 examples/v2/downtimes/CancelDowntime.rb