This is an example of how to delete S3 objects using Boto3
import boto3 s3= boto3.client('s3') s3.delete_object(Bucket='bucket-name', Key='key/path/my_file.txt')
or
import boto3 s3 = boto3.resource('s3') s3.Object('bucket-name', 'your-key').delete()