mc quota clear
Changed: RELEASE.2022-12-13T00-23-28Z
mc quota clear replaced mc admin bucket quota --clear.
Changed: RELEASE.2024-07-31T15-58-33Z
mc quota clear is deprecated.
Description
The mc quota clear command removes a configured storage quota for a bucket.
Examples
Clear Configured Bucket Quota
Use mc quota clear flag to remove the quota from a bucket.
mc quota clear TARGET/BUCKET
- Replace
TARGETwith thealiasof a configured MinIO deployment. ReplaceBUCKETwith the name of the bucket on which to clear the quota.
Syntax
mc quota clear has the following syntax:
mc quota clear TARGET [ARGUMENTS]
mc quota clear supports the following arguments:
TARGET
mc-cmd
Required
The full path to the bucket for which the command creates the quota. Specify the alias of the MinIO deployment as a prefix to the path. For example:
mc quota clear play/mybucket
Global Flags
This command supports any of the global flags.
S3 Compatibility
The mc commandline tool is built for compatibility with the AWS S3 API and is tested with MinIO and AWS S3 for expected functionality and behavior.
MinIO provides no guarantees for other S3-compatible services, as their S3 API implementation is unknown and therefore unsupported. While mc commands may work as documented, any such usage is at your own risk.
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