Sha256: 0e96714e9f14b8fa074670bdb13d583de54cc5ce0999541fe19991dc423ddffa

Contents?: true

Size: 301 Bytes

Versions: 6

Compression:

Stored size: 301 Bytes

Contents

# Delete a CSM Threats Agent rule returns "OK" response

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

# there is a valid "agent_rule_rc" in the system
AGENT_RULE_DATA_ID = ENV["AGENT_RULE_DATA_ID"]
api_instance.delete_csm_threats_agent_rule(AGENT_RULE_DATA_ID)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
datadog_api_client-2.28.1 examples/v2/csm-threats/DeleteCSMThreatsAgentRule.rb
datadog_api_client-2.27.1 examples/v2/csm-threats/DeleteCSMThreatsAgentRule.rb
datadog_api_client-2.26.1 examples/v2/csm-threats/DeleteCSMThreatsAgentRule.rb
datadog_api_client-2.26.0 examples/v2/csm-threats/DeleteCSMThreatsAgentRule.rb
datadog_api_client-2.25.0 examples/v2/csm-threats/DeleteCSMThreatsAgentRule.rb
datadog_api_client-2.24.0 examples/v2/csm-threats/DeleteCSMThreatsAgentRule.rb