

def ex_delete_vlan(self, vlan):
    '\n        Deletes an existing VLAN\n\n        :param      vlan: The VLAN to delete\n        :type       vlan: :class:`DimensionDataNetworkDomain`\n\n        :rtype: ``bool``\n        '
    delete_node = ET.Element('deleteVlan', {
        'xmlns': TYPES_URN,
    })
    self.set('id', vlan.id)
    result = self.connection.request_with_orgId_api_2('network/deleteVlan', 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_vlan/VarMisuse@32/103 `delete_node`->`self`