Amazon Simple Storage Service
Developer Guide (API Version 2006-03-01)

Deleting Multiple Objects Per Request

Amazon S3 provides the Multi-Object Delete API (see Delete - Multi-Object Delete) that enables you to delete multiple objects in a single request. The API supports two modes for the response; verbose and quiet. By default, the operation uses verbose mode in which the response includes the result each keys deletion that was encountered in your request. In quiet mode, the response includes only keys where the delete operation encountered an error.

If all keys were successfully deleted when using the quiet mode, Amazon S3 returns empty response.

To learn more about object deletion, see Deleting Objects.

You can use the REST API directly or use the AWS SDKs.