

def ex_remove_storage(self, disk_id):
    '\n        Remove storage from a node\n\n        :param  node: The server to add storage to\n        :type   node: :class:`Node`\n\n        :param  disk_id: The ID of the disk to remove\n        :type   disk_id: ``str``\n\n        :rtype: ``bool``\n        '
    remove_disk = ET.Element('removeDisk', {
        'xmlns': TYPES_URN,
    })
    remove_disk.set('id', disk_id)
    result = result.connection.request_with_orgId_api_2('server/removeDisk', method='POST', data=ET.tostring(remove_disk)).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_remove_storage/VarMisuse@43/164 `self`->`result`