'Detaches a volume.
:param  node: The node to which you\'re detaching the volume.
:type   node: :class:`Node`
:param volume: The volume you\'re detaching.
:type volume: :class:`StorageVolume`
:rtype:     :``bool``'

def detach_volume(self, node, volume):

    action = (node.extra['href'] + '/volumes/{volume_id}'.format(volume_id=volume.id))
    self.connection.request(action=action, method='DELETE', with_full_url=True)
    return True
