mirror of
https://github.com/minio/docs.git
synced 2025-08-06 14:42:56 +03:00
Bucket quotas don't work the way people think they work, as they cannot enforce hard limits. Deprecate in docs while we sort out what to do with the commands. The future replacement is MinIO Enterprise Catalog. Staged: http://192.241.195.202:9000/staging/deprecate-bucket-quota/linux/reference/minio-mc-deprecated.html See: https://github.com/minio/mc/pull/5011 https://github.com/minio/mc/pull/5012
87 lines
1.7 KiB
ReStructuredText
87 lines
1.7 KiB
ReStructuredText
==================
|
|
``mc quota clear``
|
|
==================
|
|
|
|
.. default-domain:: minio
|
|
|
|
.. contents:: Table of Contents
|
|
:local:
|
|
:depth: 2
|
|
|
|
.. mc:: mc quota clear
|
|
|
|
.. versionchanged:: RELEASE.2022-12-13T00-23-28Z
|
|
|
|
``mc quota clear`` replaced ``mc admin bucket quota --clear``.
|
|
|
|
.. versionchanged:: RELEASE.2024-07-31T15-58-33Z
|
|
|
|
``mc quota clear`` is deprecated.
|
|
|
|
Description
|
|
-----------
|
|
|
|
.. start-mc-quota-clear-desc
|
|
|
|
The :mc-cmd:`mc quota clear` command removes a configured storage quota for a bucket.
|
|
|
|
.. end-mc-quota-clear-desc
|
|
|
|
|
|
Examples
|
|
--------
|
|
|
|
|
|
Clear Configured Bucket Quota
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
Use :mc-cmd:`mc quota clear` flag to remove the quota from a bucket.
|
|
|
|
.. code-block:: shell
|
|
:class: copyable
|
|
|
|
mc quota clear TARGET/BUCKET
|
|
|
|
- Replace ``TARGET`` with the :mc-cmd:`alias <mc alias>` of a configured MinIO deployment.
|
|
Replace ``BUCKET`` with the name of the bucket on which to clear the quota.
|
|
|
|
Syntax
|
|
------
|
|
|
|
:mc-cmd:`mc quota clear` has the following syntax:
|
|
|
|
.. code-block:: shell
|
|
:class: copyable
|
|
|
|
mc quota clear TARGET [ARGUMENTS]
|
|
|
|
:mc-cmd:`mc quota clear` supports the following arguments:
|
|
|
|
.. mc-cmd:: TARGET
|
|
:required:
|
|
|
|
The full path to the bucket for which the command creates the quota.
|
|
Specify the :mc-cmd:`alias <mc alias>` of the MinIO deployment as a prefix to the path.
|
|
For example:
|
|
|
|
.. code-block:: shell
|
|
:class: copyable
|
|
|
|
mc quota clear play/mybucket
|
|
|
|
|
|
Global Flags
|
|
~~~~~~~~~~~~
|
|
|
|
.. include:: /includes/common-minio-mc.rst
|
|
:start-after: start-minio-mc-globals
|
|
:end-before: end-minio-mc-globals
|
|
|
|
|
|
S3 Compatibility
|
|
~~~~~~~~~~~~~~~~
|
|
|
|
.. include:: /includes/common-minio-mc.rst
|
|
:start-after: start-minio-mc-s3-compatibility
|
|
:end-before: end-minio-mc-s3-compatibility
|