mc admin user 的 disable 子命令用来禁用指定的用户,语法如下:
C:\>mc admin user disable -h NAME: mc admin user disable - disable user USAGE: mc admin user disable TARGET USERNAME FLAGS: --config-dir value, -C value path to configuration folder (default: "C:\\Users\\Administrator\\mc") --quiet, -q disable progress bar display --no-color disable color theme --json enable JSON lines formatted output --debug enable debug output --insecure disable SSL certificate verification --help, -h show help
(1)在 MinIO 服务器上禁用用户 'foobar'。
D:\server\minio>mc admin user disable local foobar Disabled user `foobar` successfully.