Deletes an S3 bucket, or an object in it. Without objectName, the bucket is deleted. A bucket that isn't empty needs force=true.
s3Delete(bucketName [, objectName, force, accessKeyId, secretAccessKey, host, timeout])
→ returns query
lucee.s3.accesskeyid system property or environment variable.
lucee.s3.secretaccesskey system property or environment variable.
https://. Defaults to Amazon AWS.
10000bucket and object, and the secret key argument secretKey. Returns nothing. Doesn't list timeout.
Removes one key from the bucket.
s3Delete("my-bucket", "logs/today.txt");
force=true empties the bucket before deleting it.
s3Delete("my-bucket", "", true);
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.