Skip to content

S3  >  Structures  >  Delete

Delete

Structure Class

Delete dataclass

Bases: _SerdeShape

Container for the objects to delete.

Attributes

objects instance-attribute

The object to delete.

Note

Directory buckets - For directory buckets, an object that's composed entirely of whitespace characters is not supported by the DeleteObjects API operation. The request will receive a 400 Bad Request error and none of the objects in the request will be deleted.

quiet class-attribute instance-attribute
quiet: bool | None = ...

Element to enable quiet mode for the request. When you add this element, you must set its value to true.