# Why does removing tags from a host take several hours?

**URL:** <https://community.dynatrace.com/t/why-does-removing-tags-from-a-host-take-several-hours/47397>\
**Category:** Open Q&A\
**Tags:** tagging\
**Created:** [August 30, 2024, 10:00am UTC](https://community.dynatrace.com/t/why-does-removing-tags-from-a-host-take-several-hours/47397 "2024-08-30T10:00:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![100grm](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/100grm/32/1185_2.png) [@100grm](https://community.dynatrace.com/u/100grm)\
**Post date:** [August 30, 2024, 10:00am UTC](https://community.dynatrace.com/t/why-does-removing-tags-from-a-host-take-several-hours/47397/1 "2024-08-30T10:00:28Z")

</div>

Hi,

We have some logic that is tied to general host tags:

**Host \>&nbsp;&nbsp;Properties and tags \> Tags**

Adding a tag to a host with a command works almost instantly.

```markup
/opt/dynatrace/oneagent/agent/tools/oneagentctl --set-host-tag=AppSomething=Enabled

```

However, removing the same tag can take hours. The problem is that while it is removed instantly from the OneAgent, it continues to be displayed in the SaaS GUI for a very long time, and until it disappears, the logic will not change.

```markup
/opt/dynatrace/oneagent/agent/tools/oneagentctl --remove-host-tag=AppSomething=Enabled

```

Does anyone knows why this is happening?

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [August 30, 2024, 3:16pm UTC](https://community.dynatrace.com/t/why-does-removing-tags-from-a-host-take-several-hours/47397/2 "2024-08-30T15:16:58Z")

</div>

Hi&nbsp;[@100grm](https://community.dynatrace.com/user/68138),

In the CloudOps certification materials I have found this.

When does meta data/naming/tagging get applied:

▪ Tagging and naming rules: ~ 30s  
▪ Manual/API based: immediately  
▪ Via environment variables (for Process Groups): when process starts  
▪ Via oneagentctl: Tags/Meta Data: ~5/10min delay  
▪ Host name/host group: OneAgent restart

So in case of oneagentctl there is a delay, minutes not hours.

You should raise a support ticket with an example.

Best regards,

Mizső

---

<div class="post-metadata">

**Author:** ![100grm](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/100grm/32/1185_2.png) [@100grm](https://community.dynatrace.com/u/100grm)\
**Post date:** [August 30, 2024, 5:15pm UTC](https://community.dynatrace.com/t/why-does-removing-tags-from-a-host-take-several-hours/47397/3 "2024-08-30T17:15:36Z")

</div>

Hi&nbsp;[@Mizső](https://community.dynatrace.com/user/47783)&nbsp;,

Via oneagentctl: Tags/Meta Data: ~5/10min delay - for us on the latest version of OneAgent and SaaS it is from 4 to 6 hours. Looks like there is no solution

Thx for your help

---

<div class="post-metadata">

**Author:** ![Steven\_Burke](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/steven_burke/32/11756_2.png) [@Steven\_Burke](https://community.dynatrace.com/u/Steven_Burke)\
**Post date:** [June 18, 2026, 8:58pm UTC](https://community.dynatrace.com/t/why-does-removing-tags-from-a-host-take-several-hours/47397/4 "2026-06-18T20:58:56Z")

</div>

It looks like this is till the case in 2026.&nbsp;[@100grm](https://community.dynatrace.com/user/68138)&nbsp;did you ever open a support ticket?

---

<div class="post-metadata">

**Author:** ![sujit\_k\_singh](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sujit\_k\_singh](https://community.dynatrace.com/u/sujit_k_singh)\
**Post date:** [June 23, 2026, 3:02am UTC](https://community.dynatrace.com/t/why-does-removing-tags-from-a-host-take-several-hours/47397/5 "2026-06-23T03:02:00Z")

</div>

Hi&nbsp;[@100grm](https://community.dynatrace.com/user/68138)

This is a known behaviour — tag removal via oneagentctl takes longer to reflect compared to adding tags.

When you&nbsp;remove&nbsp;a tag, the OneAgent stops reporting it — but the Dynatrace server-side doesn’t immediately purge it. The platform waits for a certain grace period&nbsp;(can be up to a few hours) before confirming the tag is truly gone.

Use the&nbsp;Dynatrace API&nbsp;to remove the tag server-side immediately.

Thanks,

Sujit
