You can define lifecycle rules at the bucket level.

With lifecycle rules, you define the expiration periods and the corresponding actions that VMware Cloud Director Object Storage Extension performs to objects in the bucket.