mc tag remove
Remove tags assigned to objects and buckets.
Syntax
- CLI
-
USAGE: /opt/mapr/bin/mc tag remove [FLAGS] TARGET FLAGS: --versionid value, --vid value remove tags of a specific object version --rewind value remove tags of a specific object version at specific time --versions remove tags on all versions for an object --json enable JSON lines formatted output --debug enable debug output --insecure disable SSL certificate verification --help, -h show command help
Parameters
Parameter | Description |
---|---|
TARGET |
The alias of a configured HPE Ezmeral Object Store deployment for which the tags are to be removed. This parameter is mandatory. |
versionid or vid |
The object version ID for which to tags are to be listed |
rewind |
Use the rewind flag to list tags on a specific object version at specific time |
versions |
Use versions to specify multiple version numbers |
json |
Enable JSON formatted output. |
debug |
Enable output for debugging. |
insecure |
Disable SSL verification. |
help |
Show command help. |
Examples
- Remove the tags assigned to an object named testobject in a local
cluster bucket named testbucket, on an object store with alias
myobjstore.
- CLI
-
/opt/mapr/bin/ mc tag remove myobjstore/testbucket/testobject
- Remove the tags assigned to a particular version of an object.
- CLI
-
/opt/mapr/bin/mc tag remove --version-id "ieQq7aXsyhlhDt47YURGlrucYY3GxWHa" myminio/testbucket/testobject
- Remove the tags assigned to an object named testobject on bucket named
testbucket for object versions that are older than one week on an
object store with alias myobjstore.
- CLI
-
/opt/mapr/bin/mc tag remove --versions --rewind 7d myobjstore/testbucket/testobject
- Remove the tags assigned to a bucket named testbucket on the local
cluster on an object store with alias myobjstore.
- CLI
-
/opt/mapr/bin/mc tag remove myobjstore/testbucket