static flushES (req, res) {
    Db.refresh('*', req.query.cluster);
    Db.flush('*', req.query.cluster);
    return res.send(JSON.stringify({ success: true, text: 'Flushed' }));
  }
POST - /api/esadmin/flush

Flush and refresh any data waiting in OpenSearch/Elasticsearch to disk (es admin only - set in config with <a href="settings#esadminusers">esAdminUsers</a>).
@name /esadmin/flush
@returns {boolean} success - Always true
@returns {string} text - The success message to (optionally) display to the user.