aws s3api delete-objects
This operation enables you to delete multiple objects from a bucket using a single HTTP request. AWS CLI reference
7 options Its page in the AWS CLI reference
Options
--bucketThe bucket name containing the objects to delete.--bypass-governance-retentionSpecifies whether you want to delete this object even if it has a Governance-type Object Lock in place.--checksum-algorithmIndicates the algorithm used to create the checksum for the object when you use the SDK.--deleteContainer for the request.--expected-bucket-ownerThe account ID of the expected bucket owner.--mfaThe concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.--request-payerConfirms that the requester knows that they will be charged for the request.