I once created a tag and assigned it to a device. The device now has been deleted and I would like to get rid of the tag. But it still appears in the filter list. How do I remove the tag from ATP?
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
You can use the Defender for Endpoint API to achieve that goal.
Request example:
POST https://api.securitycenter.microsoft.com/api/machines/1e5bc9d7e413ddd7902c2932e418702b84d0cc07/tags
Content-type: application/json
{
"Value" : "test Tag 2",
"Action": "Remove"
}
Thanks, looks great and I will try that ASAP!
@andrePKI Have you tested this? Did it work?
I tried, but it is not what I am looking for. The tag is not attached to any machine, but nevertheless present in the Defender Security Center, e.g. at the Device Inventory blade, in the filter list. Over time, this will clutter the list with unused tag values.
So, if anybody knows another way to remove the tag value from the tenant....
@andrePKI I suggest reaching out to support in order to get an answer.
Our goal here is to update the documentation if needed, so when you find an answer let us know what it is and we can add that information to the article you linked, so others can reference it in the future.
Most helpful comment
@andrePKI I suggest reaching out to support in order to get an answer.
Our goal here is to update the documentation if needed, so when you find an answer let us know what it is and we can add that information to the article you linked, so others can reference it in the future.