s3clearBucket()
Removes all objects from a s3 bucket, unless maxage is set, in that case only objects that are older than maxage are removed.
Requires Extension: S3 Resource Extension
s3clearBucket( bucketName=string, maxage=timespan, accessKeyId=string, secretAccessKey=string, timeout=number );
Returns: void
Examples
There are currently no examples for this functionSee also
- S3
- s3listBucket()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)