'Revert a volume to a specific date or by a bookmark.'

def revert_volume(self, name, utc_date=None, bookmark_name=None):

    cmd = RdxApiCmd(cmd_prefix=[VOLUMES, 'revert'])
    cmd.set_argument(name)
    cmd.add_flag('timestamp', ReduxioAPI._utc_to_cli_date(utc_date))
    cmd.add_flag('bookmark', bookmark_name)
    cmd.force_command()
    return self._run_cmd(cmd)
