How to use the apigeetool.undeploy function in apigeetool

To help you get started, we’ve selected a few apigeetool examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github apigee-127 / a127 / lib / commands / account / providers / apigee.js View on Github external
function(cb) {
        var options = {
          api: deriveServiceApi(name),
          baseuri: account.baseuri,
          organization: account.organization,
          username: account.username,
          password: account.password,
          environment: account.environment
        };
        apigeetool.undeploy(options, function(err) {
          if (err) { return cb(err); }
          apigeetool.delete(options, cb);
        });
      },
      function(cb) {
github apigee-127 / a127 / lib / commands / account / providers / apigee.js View on Github external
function undeployProject(account, project, options, cb) {
  var opts = buildApigeetoolOpts(account, {
    api: project.api.name
  });
  apigeetool.undeploy(opts, cb);
}