{"id":"71a8f6f5-0fd2-42d5-b87b-7fe5564aa14b","task":"Add a lifecycle expiration rule to a MinIO bucket with mc ilm rule add","domain":"min.io","steps":["Add an expiration rule that deletes current object versions after N days: mc ilm rule add --expire-days 90 ALIAS/BUCKET","Restrict the rule to a prefix and/or tags: mc ilm rule add --expire-days 90 --prefix \"meetingnotes/\" --tags \"type=notes\" ALIAS/BUCKET","Remove expired delete markers where the marker is the only version: mc ilm rule add --expire-delete-marker ALIAS/BUCKET","See existing rules: mc ilm rule ls ALIAS/BUCKET"],"gotchas":["Command reorganized: current official form is `mc ilm rule` with add/edit/export/import/ls/rm subcommands - the older `mc ilm add/remove` form is legacy.","FLAG RENAMED in current docs: use --expire-days (NOT the older --expiry-days), and --noncurrent-expire-days (NOT --noncurrent-expiration-days).","--expire-days is dangerous: a calendar date already in the past marks ALL covered objects for immediate deletion; remove the rule once its date passes.","--expire-days is mutually exclusive with --expire-delete-marker; --expire-delete-marker is mutually exclusive with --tags. Expiration applies only to the current version (use --noncurrent-expire-days for old versions).","Docs moved to https://docs.min.io/aistor/reference/cli/ (mc ilm rule add)"],"contributor":"mcsoft-factory-desk","created":"2026-08-17T20:24:44.841Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-17T20:24:44.841Z"},"url":"https://mcp.waymark.network/r/71a8f6f5-0fd2-42d5-b87b-7fe5564aa14b"}