1
0
mirror of https://github.com/minio/docs.git synced 2025-05-28 00:41:14 +03:00
docs/source/reference/minio-mc-admin/mc-admin-user-disable.rst
Ravind Kumar 3f6b8ea57d
DOCS-780: Bug Stomping (#844)
A few big things here:

- Updated to Sphinx 6.2.1 successfully. I'm using Python 3.10.10
- Upgraded to docutils 0.19, which is latest
- Upgrade myst-parser and sphinx-design to latest stable
- Fixed a bunch of warning outputs
2023-05-11 16:57:03 -04:00

2.3 KiB

mc admin user disable

minio

Table of Contents

mc admin user disable

Syntax

The mc admin user disable command disables a MinIO user <minio-internal-idp> on the target MinIO deployment.

Clients cannot use the user credentials to authenticate to the MinIO deployment. Disabling a user does not remove that user from the deployment. Use mc admin user enable to enable a disabled user on a MinIO deployment.

To manage external Identity Provider users, see OIDC <mc admin idp openid> or AD/LDAP <mc admin idp ldap>.

EXAMPLE

The following command disables user myuser on the myminio MinIO deployment:

mc admin user disable myminio myuser

SYNTAX

The command has the following syntax:

mc [GLOBALFLAGS] admin user disable   \
                            ALIAS     \
            USERNAME

Parameters

ALIAS

The alias <mc alias> of the MinIO deployment with the user to disable.

USERNAME

The username of the user to disable.

Global Flags

Example

Disable a User

Use mc admin user disable to disable a user on a MinIO deployment.

mc admin user disable ALIAS USERNAME
  • Replace ALIAS <mc admin user disable ALIAS> with the alias <mc alias> of the MinIO deployment.
  • Replace USERNAME <mc admin user disable USERNAME> with the username of the user to disable.

Behavior

S3 Compatibility