1
0
mirror of https://github.com/minio/docs.git synced 2025-07-28 19:42:10 +03:00
Files
docs/source/reference/minio-mc/mc-quota-clear.rst
Daryl White 00de8dbeb6 Updates to mc docs for December 2022 releases (#697)
This PR applies updates to numerous files to address changes in the two
December 2022 `mc` releases.

- Deprecates `mc admin bucket quota` and links to new commands
- Adds `mc quota set | clear | info` commands
- Adds `attach | detach` subcommands to `mc admin idp ldap policy`
- Updates list of call types available to `mc admin trace`
- Updates `mc` page with new commands
- Fixes minor errors in `mc cp`
- Adds `--limit-*` flags to global flag options
- Adds `--versions` flag to `mc find`
    
Closes #685

- Updates ilm commands for new structure for tiers and rules
    
    - Deprecates `mc admin tier`
- Deprecates `mc ilm add | edit | export | import | ls | rm` commands
    - Adds new `mc ilm rule` and six subcommands
    - Adds new `mc ilm tier` and six subcommands
    - Updates references to ilm and admin tier  commands throughout docs
    - Adds new deprecated commands page
    - Adds `mc ilm rule` and `mc ilm tier` holding pages with toctrees

- Closes #691
- Closes #662
2023-01-10 15:47:02 -06:00

82 lines
1.6 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``.
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