Sha256: 3323f4d1b90955e3486fed59f4d2b5238856985d744d2b95a2b769951346a8a7

Contents?: true

Size: 333 Bytes

Versions: 31

Compression:

Stored size: 333 Bytes

Contents

# Delete a Cloud Workload Security Agent rule returns "OK" response

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

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

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
datadog_api_client-2.2.0 examples/v2/cloud-workload-security/DeleteCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.1.0 examples/v2/cloud-workload-security/DeleteCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.0.2 examples/v2/cloud-workload-security/DeleteCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.0.1 examples/v2/cloud-workload-security/DeleteCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.0.0 examples/v2/cloud-workload-security/DeleteCloudWorkloadSecurityAgentRule.rb
datadog_api_client-1.11.0 examples/v2/cloud-workload-security/DeleteCloudWorkloadSecurityAgentRule.rb
datadog_api_client-1.10.0 examples/v2/cloud-workload-security/DeleteCloudWorkloadSecurityAgentRule.rb
datadog_api_client-1.9.0 examples/v2/cloud-workload-security/DeleteCloudWorkloadSecurityAgentRule.rb
datadog_api_client-1.8.0 examples/v2/cloud-workload-security/DeleteCloudWorkloadSecurityAgentRule.rb
datadog_api_client-1.7.0 examples/v2/cloud-workload-security/DeleteCloudWorkloadSecurityAgentRule.rb
datadog_api_client-1.6.0 examples/v2/cloud-workload-security/DeleteCloudWorkloadSecurityAgentRule.rb