Why do I receive no notifications when I delete objects?

更新时间:
复制 MD 格式

In a versioning-enabled bucket, calling DeleteObjects without specifying version IDs does not permanently delete the objects — OSS adds delete markers instead. Because no actual deletion occurs, the DeleteObjects event notification rule is not triggered.

To trigger event notifications, specify the version IDs of the objects when calling DeleteObjects. For details, see Manage objects in a versioning-enabled bucket.

This behavior is specific to DeleteObjects (batch delete). Calling DeleteObject (single object delete) without a version ID in a versioning-enabled bucket does trigger the event notification.

See also