mc quota clear
The mc quota clear command removes the quota configuration from a bucket.
See Bucket Quotas for a complete overview of quota behavior and monitoring.
Syntax
Parameters
ALIAS
Required
The alias of the MinIO AIStor cluster, in the format ALIAS.
For example: myminio
BUCKET
Required
The name of the target bucket, in the format BUCKET.
For example: mybucket
Global flags
This command supports any of the global flags.
Examples
Clear a quota
The following command removes the quota from the mybucket bucket:
mc quota clear myminio/mybucket
Permissions
The user or service account performing this operation must have the following admin permission:
| Permission | Description |
|---|---|
admin:SetBucketQuota |
Required to set or clear a bucket quota. |
The built-in consoleAdmin policy includes this permission.
Behavior
S3 compatibility
The mc command-line tool is built for compatibility with the AWS S3 API and is tested with MinIO AIStor 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.