Sha256: 716cc3fe57744ae6ee8e9fb08c2081f9940c2f1af9273f8934595ef15aa1b21b

Contents?: true

Size: 405 Bytes

Versions: 2

Compression:

Stored size: 405 Bytes

Contents

# Delete an incident type returns "OK" response

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

# there is a valid "incident_type" in the system
INCIDENT_TYPE_DATA_ID = ENV["INCIDENT_TYPE_DATA_ID"]
api_instance.delete_incident_type(INCIDENT_TYPE_DATA_ID)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
datadog_api_client-2.29.1 examples/v2/incidents/DeleteIncidentType.rb
datadog_api_client-2.28.1 examples/v2/incidents/DeleteIncidentType.rb