code: def restore_snapshot(self, subid, snapshotid, params=None):
          ''' /v1/server/restore_snapshot
          POST - account
          Restore the specificed snapshot to the virtual machine.
          Any data already on the virtual machine will be lost.
  
          Link: https://www.vultr.com/api/#server_restore_snapshot
          '''
          params = update_params(params, {
              'SUBID': subid,
              'SNAPSHOTID': snapshotid
          })
          return self.request('/v1/server/restore_snapshot', params, 'POST'f restore_snapshot(self, subid, snapshotid, params=None):
          ''' /v1/server/restore_snapshot
          POST - account
          Restore the specificed snapshot to the virtual machine.
          Any data already on the virtual machine will be lost.
  
          Link: https://www.vultr.com/api/#server_restore_snapshot
          '''
          params = update_params(params, {
              'SUBID': subid,
              'SNAPSHOTID': snapshotid
          })
          return self.request('/v1/server/restore_snapshot', params, 'POST')
docs: /v1/server/restore_snapshot
          POST - account
          Restore the specificed snapshot to the virtual machine.
          Any data already on the virtual machine will be lost.
  
          Link: https://www.vultr.com/api/#server_restore_snapshot