Sha256: b57207793cb6020a8fca36bc1de312cc20c8e41d74b0eb989de194d5723ed666

Contents?: true

Size: 339 Bytes

Versions: 8

Compression:

Stored size: 339 Bytes

Contents

# Delete a custom destination returns "OK" response

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

# there is a valid "custom_destination" in the system
CUSTOM_DESTINATION_DATA_ID = ENV["CUSTOM_DESTINATION_DATA_ID"]
api_instance.delete_logs_custom_destination(CUSTOM_DESTINATION_DATA_ID)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
datadog_api_client-2.28.1 examples/v2/logs-custom-destinations/DeleteLogsCustomDestination.rb
datadog_api_client-2.27.1 examples/v2/logs-custom-destinations/DeleteLogsCustomDestination.rb
datadog_api_client-2.26.1 examples/v2/logs-custom-destinations/DeleteLogsCustomDestination.rb
datadog_api_client-2.26.0 examples/v2/logs-custom-destinations/DeleteLogsCustomDestination.rb
datadog_api_client-2.25.0 examples/v2/logs-custom-destinations/DeleteLogsCustomDestination.rb
datadog_api_client-2.24.0 examples/v2/logs-custom-destinations/DeleteLogsCustomDestination.rb
datadog_api_client-2.22.0 examples/v2/logs-custom-destinations/DeleteLogsCustomDestination.rb
datadog_api_client-2.21.0 examples/v2/logs-custom-destinations/DeleteLogsCustomDestination.rb