static deleteData (req, res) {
    if (req.query.removeSpi !== 'true' && req.query.removePcap !== 'true') {
      return res.serverError(403, `You can't delete nothing`);
    }

    let whatToRemove;
    if (req.query.removeSpi === 'true' && req.query.removePcap === 'true') {
      whatToRemove = 'all';
    } else if (req.query.removeSpi === 'true') {
      whatToRemove = 'spi';
    } else {
      whatToRemove = 'pcap';
    }

    if (req.body.ids) {
      const ids = ViewerUtils.queryValueToArray(req.body.ids);
      SessionAPIs.sessionsListFromIds(req, ids, ['node'], (err, list) => {
        SessionAPIs.#scrubList(req, res, whatToRemove, list);
      });
    } else if (req.query.expression) {
      SessionAPIs.#sessionsListFromQuery(req, res, ['node'], (err, list) => {
        SessionAPIs.#scrubList(req, res, whatToRemove, list);
      });
    } else {
      return res.serverError(403, `Error: Missing expression. An expression is required so you don't delete everything.`);
    }
  }
GET - /api/delete

Delete SPI and/or scrub PCAP data (remove persmission required).
@name /delete
@param {string} ids - Comma separated list of sessions to delete
@param {SessionsQuery} See_List - This API supports a common set of parameters documented in the SessionsQuery section
@param {string} removeSpi=false - Whether to remove the SPI data.
@param {string} removePcap=true - Whether to remove the PCAP data.
@returns {boolean} success - Whether the operation was successful
@returns {string} text - The success/error message to (optionally) display to the user