<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic API to tag another object than a service in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/API-to-tag-another-object-than-a-service/m-p/44458#M176</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;In the documentation&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/dynatrace-api/topology-and-smartscape/how-do-i-assign-a-tag-to-a-monitored-entity/" target="_blank"&gt;https://www.dynatrace.com/support/help/dynatrace-a...&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;, it is possible to tag a service using an API.&lt;/P&gt;
&lt;P&gt;I tried to do so with host without success (same command).&lt;/P&gt;
&lt;P&gt;Is there a way to tag a host, process, application using API ?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
    <pubDate>Wed, 26 May 2021 11:49:47 GMT</pubDate>
    <dc:creator>gautier_begin</dc:creator>
    <dc:date>2021-05-26T11:49:47Z</dc:date>
    <item>
      <title>API to tag another object than a service</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-to-tag-another-object-than-a-service/m-p/44458#M176</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;In the documentation&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/dynatrace-api/topology-and-smartscape/how-do-i-assign-a-tag-to-a-monitored-entity/" target="_blank"&gt;https://www.dynatrace.com/support/help/dynatrace-a...&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;, it is possible to tag a service using an API.&lt;/P&gt;
&lt;P&gt;I tried to do so with host without success (same command).&lt;/P&gt;
&lt;P&gt;Is there a way to tag a host, process, application using API ?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 11:49:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-to-tag-another-object-than-a-service/m-p/44458#M176</guid>
      <dc:creator>gautier_begin</dc:creator>
      <dc:date>2021-05-26T11:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: API to tag another object than a service</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-to-tag-another-object-than-a-service/m-p/44459#M177</link>
      <description>&lt;P&gt;&lt;BR /&gt;	Hi gautier,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;	You would have to use the api endpoint for the entity you want to assign the tag to.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;	So for host that would be: https://&lt;BR /&gt;	{{Tenant}}.live.dynatrace.com/api/v1/entity/infrastructure/hosts/{entityid}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;	and then in the payload :&lt;/P&gt;&lt;PRE&gt;{&lt;BR /&gt;  "tags": ["myTagthroughAPI", "secondTag"]&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;KR,&lt;BR /&gt;Kristof&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2017 15:59:44 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-to-tag-another-object-than-a-service/m-p/44459#M177</guid>
      <dc:creator>kristof_renders</dc:creator>
      <dc:date>2017-12-01T15:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: API to tag another object than a service</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-to-tag-another-object-than-a-service/m-p/44460#M178</link>
      <description>&lt;P&gt;Kris,&lt;/P&gt;&lt;P&gt;That's failing, I get this error message: "code":404,"message":"HTTP 404 Not Found"&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 07:19:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-to-tag-another-object-than-a-service/m-p/44460#M178</guid>
      <dc:creator>gautier_begin</dc:creator>
      <dc:date>2017-12-04T07:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: API to tag another object than a service</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-to-tag-another-object-than-a-service/m-p/44461#M179</link>
      <description>&lt;P&gt;Sorry, I forgot the infrastructure word in the path. That's working fine.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 07:23:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-to-tag-another-object-than-a-service/m-p/44461#M179</guid>
      <dc:creator>gautier_begin</dc:creator>
      <dc:date>2017-12-04T07:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: API to tag another object than a service</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-to-tag-another-object-than-a-service/m-p/44462#M180</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I tried for processes, no way to assign a tag.&lt;/P&gt;&lt;P&gt;api/v1/entity/infrastructure/processes/&amp;lt;proc_ID&amp;gt;&lt;/P&gt;&lt;P&gt;Not allowed HTTP method, expected one of [GET, OPTIONS]&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 16:18:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-to-tag-another-object-than-a-service/m-p/44462#M180</guid>
      <dc:creator>gautier_begin</dc:creator>
      <dc:date>2017-12-04T16:18:36Z</dc:date>
    </item>
  </channel>
</rss>

