code: function putFn (req, res, next) {
      var reqPath = req.params[0];
      var destination = req.body.rename;
      debug('putFn', 'reqPath', reqPath);
  
      fs.rename(path.join(ramlPath, reqPath), path.join(ramlPath, destination), function (err) {
        if (err) return next(err);
        res.sendStatus(200);
      });
    }
docs: rename file/folder