--- title: "Deleting Multiple Objects" slug: "deleting-multiple-objects-boto3-tg" updated: 2026-10-27T17:23:14Z published: 2026-10-27T17:23:14Z canonical: "docs.vastdata.com/deleting-multiple-objects-boto3-tg" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.vastdata.com/llms.txt > Use this file to discover all available pages before exploring further. # Deleting Multiple Objects The [delete_objects()](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html#S3.Client.delete_objects) method deletes multiple objects in a bucket. ## Example ```plaintext response = s3_client.delete_objects(    Bucket='mybucket',    Delete={        'Objects': [            {'Key': 'file1'},            {'Key': 'file2'},            {'Key': 'file3'},        ],    }, ) ```