Documentation

Documentation

mc quota clear

Changed in version RELEASE.2022-12-13T00-23-28Z: mc quota clear replaced mc admin bucket quota --clear.

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 TARGET with the alias of a configured MinIO deployment. Replace BUCKET with 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
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 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.