static async rerouteES (req, res) {
    try {
      await Db.reroute(req.query.cluster);
      return res.send(JSON.stringify({ success: true, text: 'Reroute successful' }));
    } catch (err) {
      return res.send(JSON.stringify({ success: true, text: 'Reroute failed' }));
    }
  }
POST - /api/esadmin/reroute

Try to restart any shard migrations that have failed or paused (es admin only - set in config with <a href="settings#esadminusers">esAdminUsers</a>).
@name /esadmin/reroute
@returns {boolean} success - Whether the reroute was successful.
@returns {string} text - The success/error message to (optionally) display to the user.