examples/v2/downtimes/CreateDowntime.rb in datadog_api_client-2.14.0 vs examples/v2/downtimes/CreateDowntime.rb in datadog_api_client-2.15.0
- old
+ new
@@ -1,10 +1,7 @@
# Schedule a downtime returns "OK" response
require "datadog_api_client"
-DatadogAPIClient.configure do |config|
- config.unstable_operations["v2.create_downtime".to_sym] = true
-end
api_instance = DatadogAPIClient::V2::DowntimesAPI.new
body = DatadogAPIClient::V2::DowntimeCreateRequest.new({
data: DatadogAPIClient::V2::DowntimeCreateRequestData.new({
attributes: DatadogAPIClient::V2::DowntimeCreateRequestAttributes.new({