code: async def reset(request: web.Request) -> web.Response:
      
      data = await request.json()
      ok, bad_key = _check_reset(data)
      if not ok:
          return web.json_response(
              {'message': '{} is not a valid reset option'
               .format(bad_key)},
              status=400)
      log.info("Reset requested for {}".format(', '.join(data.keys())))
      if data.get('tipProbe'):
          config = rc.load()
          if ff.use_protocol_api_v2():
              config = config._replace(
                  instrument_offset=rc.build_fallback_instrument_offset({}))
          else:
              config.tip_length.clear()
          rc.save_robot_settings(config)
      if data.get('labwareCalibration'):
          if ff.use_protocol_api_v2():
              labware.clear_calibrations()
          else:
              db.reset()
  
      if data.get('bootScripts'):
          if IS_ROBOT:
              if os.path.exists('/data/boot.d'):
                  shutil.rmtree('/data/boot.d')
          else:
              log.debug('Not on pi, not removing /data/boot.d')
      return web.json_response({}, status=200)
docs: Execute a reset of the requested parts of the user configuration.