Cloudinary.deleteImage()

Delete an image on Cloudinary.

Usage

Hover over inputs/exits for more info.

var Cloudinary = require('machinepack-cloudinary');


// Delete an image on Cloudinary.

Cloudinary.deleteImage({

cloudName: 'abc',

apiKey: 'abcd',

apiSecret: 'abcd',

imageId: 'abc',

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function () {

 

},

});

Inputs

cloudName required

Your Cloudinary cloud name key.

'abc'
apiKey required

Your Cloudinary API key.

'abcd'
apiSecret required

Your Cloudinary secret API key.

'abcd'
imageId required

Image ID on Cloudinary.

'abc'

Exits

error

An unexpected error occurred.

success

OK.

N/A