clear_default_retention
Clear the default retention rule for an object-lock bucket. Use dry-run to preview; existing protections stay, future uploads become unprotected.
Instructions
[WRITE][risk=medium] Remove the DEFAULT retention rule. Reversible → prior rule.
Clears the rule only. Object lock stays enabled on the bucket (S3 has no call that disables it) and objects already carrying retention keep it, so this makes future uploads unprotected and changes nothing already stored.
Args: bucket_name: Bucket name (must have object lock enabled). dry_run: If True, preview without clearing. target: MinIO target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No | ||
| bucket_name | Yes |