文档基于2025-10-10日社区最终版构建     
切换到中文版    进入演示系统    进入交流社区

MinIO Documentation

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.