Sha256: 85405b56b6febed5c243b34565006cde370434dd527e3f45df78f4d567cc59ca

Contents?: true

Size: 437 Bytes

Versions: 13

Compression:

Stored size: 437 Bytes

Contents

# Delete a rule returns "OK" response

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

# there is a valid "create_scorecard_rule" in the system
CREATE_SCORECARD_RULE_DATA_ID = ENV["CREATE_SCORECARD_RULE_DATA_ID"]
api_instance.delete_scorecard_rule(CREATE_SCORECARD_RULE_DATA_ID)

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
datadog_api_client-2.29.1 examples/v2/service-scorecards/DeleteScorecardRule.rb
datadog_api_client-2.28.1 examples/v2/service-scorecards/DeleteScorecardRule.rb
datadog_api_client-2.27.1 examples/v2/service-scorecards/DeleteScorecardRule.rb
datadog_api_client-2.26.1 examples/v2/service-scorecards/DeleteScorecardRule.rb
datadog_api_client-2.26.0 examples/v2/service-scorecards/DeleteScorecardRule.rb
datadog_api_client-2.25.0 examples/v2/service-scorecards/DeleteScorecardRule.rb
datadog_api_client-2.24.0 examples/v2/service-scorecards/DeleteScorecardRule.rb
datadog_api_client-2.22.0 examples/v2/service-scorecards/DeleteScorecardRule.rb
datadog_api_client-2.21.0 examples/v2/service-scorecards/DeleteScorecardRule.rb
datadog_api_client-2.20.0 examples/v2/service-scorecards/DeleteScorecardRule.rb
datadog_api_client-2.19.0 examples/v2/service-scorecards/DeleteScorecardRule.rb
datadog_api_client-2.18.0 examples/v2/service-scorecards/DeleteScorecardRule.rb
datadog_api_client-2.17.0 examples/v2/service-scorecards/DeleteScorecardRule.rb