Sha256: 8d8e67eafeff6156045c86cf4d6bc610b92b764b342fb0e1f18a27f8ca9b4ee0

Contents?: true

Size: 372 Bytes

Versions: 7

Compression:

Stored size: 372 Bytes

Contents

# Delete an existing incident returns "OK" response

require "datadog_api_client"
DatadogAPIClient::V2.configure do |config|
  config.unstable_operations[:delete_incident] = true
end
api_instance = DatadogAPIClient::V2::IncidentsAPI.new

# there is a valid "incident" in the system
INCIDENT_DATA_ID = ENV["INCIDENT_DATA_ID"]
api_instance.delete_incident(INCIDENT_DATA_ID)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
datadog_api_client-1.11.0 examples/v2/incidents/DeleteIncident.rb
datadog_api_client-1.10.0 examples/v2/incidents/DeleteIncident.rb
datadog_api_client-1.9.0 examples/v2/incidents/DeleteIncident.rb
datadog_api_client-1.8.0 examples/v2/incidents/DeleteIncident.rb
datadog_api_client-1.7.0 examples/v2/incidents/DeleteIncident.rb
datadog_api_client-1.6.0 examples/v2/incidents/DeleteIncident.rb
datadog_api_client-1.5.0 examples/v2/incidents/DeleteIncident.rb