Request body (POST bucket delete objects)

For the content of a request body to delete multiple objects, you use XML in this format:

<?xml version="1.0" encoding="UTF-8"?>
<Delete>
     <Object>
          <Key>object-name</Key>
     </Object>
     <Object>
          <Key>object-name</Key>
     </Object>
</Delete>

The table below describes the XML elements in the request body to delete multiple objects. The elements are listed in alphabetical order.

Element Description
Delete

Root element.

Key

Child of the Object element.

The Key element specifies the name of the object to delete.

Object

Child of the Delete element.

The Object element specifies the delete request for an object.

Quiet

Child of the Delete element.

The Quiet element, when its value is set to true, enables quiet mode for the request.

© 2015, 2020 Hitachi Vantara LLC. All rights reserved.