Skip to content

Commit

Permalink
Also remove from ilm-rule-edit command
Browse files Browse the repository at this point in the history
  • Loading branch information
djwfyi committed Dec 13, 2024
1 parent 8b01793 commit e68dfb2
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions source/reference/minio-mc/mc-ilm-rule-edit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -340,25 +340,6 @@ For permissions required to edit a rule, refer to the :ref:`required permissions
Behavior
--------

Expire All Versions of a Deleted Object
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Starting with :mc-release:`MinIO Server RELEASE.2024-05-01T01-11-10Z`, MinIO supports deleting all versions of an object that has a delete marker as its latest version.
MinIO only supports this function with JSON.

To add this function, first export the rule to modify with :mc:`mc ilm rule export`.
Modify the file you exported the rule to with additional JSON that resembles the following:

.. code-block:: text
:class: copyable
<DelMarkerObjectExpiration>
<Days> 10 </Days>
</DelMarkerObjectExpiration>
This example ``JSON`` expires all versions of the deleted object after 10 days.
Modify the value in the ``<Days>`` element to the number of days you want to wait after deleting or expiring the object.

S3 Compatibility
~~~~~~~~~~~~~~~~

Expand Down

0 comments on commit e68dfb2

Please sign in to comment.