'Deletes a snapshot.'

@debugger
def delete_volume(self, volume):

    params = list()
    (pool, project, volume_name) = self._get_pool_project_volume_name(volume)
    params.append(('%s/%s/%s/%s' % (pool, TEGILE_LOCAL_CONTAINER_NAME, project, volume_name)))
    params.append(True)
    params.append(False)
    self._api_executor.send_api_request('deleteVolume', params)
