code: function scale(appName, configuration, callback) {
      if (!isObject(configuration)) {
        return callback(new Error('To scale pass an object with the type as key'));
      }
  
      var url = format('/%s/apps/%s/scale/', deis.version, appName);
      commons.post(url, configuration, 204, callback);
    }
docs: scale an application