def delete_snapshot(vm, name, key='uuid'):
    '''
    Delete snapshot of a vm

    vm : string