Deis.destroyApp()

Destroys an application.

Usage

Hover over inputs/exits for more info.

var Deis = require('machinepack-deis');


// Destroys an application.

Deis.destroyApp({

token: '',

controller: 'http://deis.mydeisapp.com',

app: 'myawesomeapp',

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// The token provided were invalid.

notAuthenticated: function () {

 

},

// OK.

success: function () {

 

},

});

Inputs

token required

An access token for use with a Deis install.

''
controller required

The controller location of your Deis install.

'http://deis.mydeisapp.com'
app required

The uniquely identifiable name for the application.

'myawesomeapp'

Exits

error

An unexpected error occurred.

notAuthenticated

The token provided were invalid.

success

OK.