Heroku.listApps()

List all apps for an account.

Usage

Hover over inputs/exits for more info.

var Heroku = require('machinepack-heroku');


// List all apps for an account.

Heroku.listApps({

apiToken: 'abc12421-1234-abdc-5343-ae4adf123fea4',

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function () {

 

},

});

Inputs

apiToken required

Your Heroku API token

'abc12421-1234-abdc-5343-ae4adf123fea4'

Exits

error

An unexpected error occurred.

success

OK.