Details

This atomic belongs to the Microsoft Defender for Endpoint atomic group.

Removes a tag from a machine in Microsoft Defender for Endpoint. This atomic requires the following API permission: Machine.ReadWrite.All.

Target: Microsoft Defender for Endpoint (Commercial or GCC) integration target or HTTP Endpoint for "api.securitycenter.microsoft.com" with no path

Account Key: None if using an integration-provided target, access token if using an HTTP Endpoint target

Steps:
[] Build the authorization header
[] Build the request payload
[] Request the tag be removed from the machine
[] Check if the request was successful:
[]> If it was, set the output variable
[]> If it wasn't, output an error

More information about this API: https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/api/add-or-remove-machine-tags?view=o365-worldwide