Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

nodejs aws s3 bucket delete item

var params = {  Bucket: 'your bucket', Key: 'your object' };

s3.deleteObject(params, function(err, data) {
  if (err) console.log(err, err.stack);  // error
  else     console.log();                 // deleted
});
 
PREVIOUS NEXT
Tagged: #nodejs #aws #bucket #delete #item
ADD COMMENT
Topic
Name
8+2 =