

def ex_destroy_nic(self, nic_id):
    '\n        Remove a NIC on a node, removing the node from a VLAN\n\n        :param      nic_id: The identifier of the NIC to remove\n        :type       nic_id: ``str``\n\n        :rtype: ``bool``\n        '
    request = ET.Element('removeNic', {
        'xmlns': TYPES_URN,
        'id': response,
    })
    response = self.connection.request_with_orgId_api_2('server/removeNic', method='POST', data=ET.tostring(request)).object
    response_code = findtext(response, 'responseCode', TYPES_URN)
    return (response_code in ['IN_PROGRESS', 'OK'])

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py DimensionDataNodeDriver.ex_destroy_nic/VarMisuse@31/129 `nic_id`->`response`