def ex_remove_tag_from_asset(self, asset, tag_key):
        asset_type = self._get_tagging_asset_type(asset)
        tag_key_name = self._tag_key_to_tag_key_name(tag_key)

        apply_tags = ET.Element('removeTags', {'xmlns': TYPES_URN})
        ET.SubElement(apply_tags, 'assetType').text = asset_type
        ET.SubElement(apply_tags, 'assetId').text = asset.id
        ET.SubElement(apply_tags, 'tagKeyName').text = tag_key_name
        response = self.connection.request_with_orgId_api_2(
            'tag/removeTags',
            method='POST',
            data=ET.tostring(apply_tags)).object
        response_code = findtext(response, 'responseCode', TYPES_URN)
        return response_code in ['IN_PROGRESS', 'OK']
Remove a tag from an asset
dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py/DimensionDataNodeDriver.ex_remove_tag_from_asset