def detach_volume(volume_id)
      volume = ProfitBricks::Volume.get(datacenterId, nil, volume_id)
      volume.detach(id)
    end
def detach_volume(volume_id)
      volume = ProfitBricks::Volume.get(datacenterId, nil, volume_id)
      volume.detach(id)
    end
Detach volume from server.