static async deleteCron (req, res) {
    const key = req.params.key;

    if (key === 'primary-viewer') {
      return res.serverError(403, 'Bad query key');
    }

    if (!ArkimeUtil.isString(key)) {
      return res.serverError(403, 'Missing periodic query key');
    }

    try {
      await Db.deleteDocument('queries', 'query', key, { refresh: true });
      res.send(JSON.stringify({
        success: true,
        text: 'Deleted periodic query successfully'
      }));
    } catch (err) {
      console.log(`ERROR - ${req.method} /api/cron/%s`, ArkimeUtil.sanitizeStr(key), util.inspect(err, false, 50));
      return res.serverError(500, 'Delete periodic query failed');
    }
  }
DELETE - /api/cron/:key

Delete a periodic query.
@name /cron/:key
@returns {boolean} success - Whether the delete operation was successful.
@returns {string} text - The success/error message to (optionally) display to the user.