mc legalhold

Description

The mc legalhold command sets, removes, or retrieves the object legal hold (WORM) settings for object(s).

Subcommands

mc legalhold includes the following subcommands:

Subcommand

Description

clear

The mc legalhold clear command removes the current legal hold setting for an object or objects.

info

The mc legalhold info command returns the current legal hold setting for an object or objects.

set

The mc legalhold set command enables legal hold Write-Once Read-Many (WORM) object locking on an object or objects.

Last modified August 2, 2026: init commit (8338d5b)

Portions of this page are adapted from the MinIO Object Storage Documentation, © 2020–Present MinIO, Inc., licensed under CC BY 4.0, converted and maintained by the Silo project. Attribution