mc ilm tier rm
Description
The mc ilm tier rm command removes an remote tier that has not been used to transition any objects.
The mc ilm tier remove command has equivalent functionality to mc ilm tier rm
Note
Once a tier has transitioned objects, it cannot be removed.
Required Permissions
MinIO requires the following permissions scoped to the bucket or buckets for which you are creating lifecycle management rules.
MinIO also requires the following administrative permissions on the cluster in which you are creating remote tiers for object transition lifecycle management rules:
For example, the following policy provides permission for configuring object transition lifecycle management rules on any bucket in the cluster:.
Syntax
The command has the following syntax:
The following example removes an existing remote tier called WARM-TIER on the myminio deployment. No objects have transitioned to the WARM-TIER tier.
The command has the following syntax:
Parameters
The command accepts the following arguments:
TARGET
mc-cmd
Required
The alias of a configured MinIO deployment on which the desired tier exists.
TIER_NAME
mc-cmd
Required
The name of an existing remote tier to remove.
You must specify the tier in all-caps, e.g. WARM_TIER.
No object can have transitioned to the tier.
Global Flags
This command supports any of the global flags.
S3 Compatibility
SILO is the supported server for PGSTY mcli; compatibility with upstream MinIO and other S3 services is best effort.
Required Permissions
For permissions required to remove a tier, refer to the required permissions on the parent command.