

def ex_delete_network_domain(self, network_domain):
    '\n        Delete a network domain\n\n        :param      network_domain: The network domain to delete\n        :type       network_domain: :class:`DimensionDataNetworkDomain`\n\n        :rtype: ``bool``\n        '
    delete_node = ET.Element('deleteNetworkDomain', {
        'xmlns': TYPES_URN,
    })
    delete_node.set('id', network_domain.id)
    result = self.connection.request_with_orgId_api_2('network/deleteNetworkDomain', method='POST', data=ET.tostring(delete_node)).object
    response_code = findtext(result, 'responseCode', TYPES_URN)
    return (response_code in ['IN_PROGRESS', 'OK'])

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py DimensionDataNodeDriver.ex_delete_network_domain/original