Sha256: 222b4974541f7e39ec4b793c98285a9f27dd35ebefa9ff11890d03f2d7c2e978
Contents?: true
Size: 607 Bytes
Versions: 1
Compression:
Stored size: 607 Bytes
Contents
require "datadog_api_client" api_instance = DatadogAPIClient::V1::TagsAPI.new host_name = "host_name_example" # String | This endpoint allows you to remove all user-assigned tags for a single host. opts = { source: "source_example", # String | The source of the tags (for example chef, puppet). [Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value). } begin # Remove host tags api_instance.delete_host_tags(host_name, opts) rescue DatadogAPIClient::V1::APIError => e puts "Error when calling TagsAPI->delete_host_tags: #{e}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-1.7.0 | examples/generated/v1/tags/DeleteHostTags.rb |