clear_default_retention
Remove the default object retention rule from a MinIO bucket, leaving object lock enabled but future uploads unprotected; preview changes with dry-run while existing locked objects remain unchanged.
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 |