code: function deleteUser (params, cb) {
        let promise = null
        if (typeof cb !== 'function') [promise, cb] = asyncify()
  
        const { id, organizationId } = params
        const tasks = [
          (job, next) => {
            Joi.validate({ id, organizationId }, validationRules.deleteUser, (err) => {
              if (err) return next(Boom.badRequest(err))
              next()
            })
          },
          (job, next) => {
            job.id = id
            next()
          },
          (job, next) => {
            const sqlQuery = SQL`DELETE FROM user_policies WHERE user_id = ${id}`
  
            job.client.query(sqlQuery, utils.boomErrorWrapper(next))
          },
          (job, next) => {
            const sqlQuery = SQL`DELETE FROM team_members WHERE user_id = ${id}`
  
            job.client.query(sqlQuery, utils.boomErrorWrapper(next))
          },
          (job, next) => {
            const sqlQuery = SQL`DELETE FROM users WHERE id = ${id} AND org_id = ${organizationId}`
  
            job.client.query(sqlQuery, (err, result) => {
              if (err) return next(Boom.badImplementation(err))
              if (result.rowCount === 0) return next(Boom.notFound(`User ${id} not found`))
  
              next()
            })
          }
        ]
  
        db.withTransaction(tasks, (err, res) => {
          if (err) return cb(err)
  
          cb()
        })
  
        return promise
      }
docs: Delete user
  
  @param  {Object}   { id, organizationId }
  @param  {Function} cb