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-remove.rst
Andrea Longo 4c735072f7
Move reference docs for mc admin idp commands to mc idp (#873)
All the `mc admin idp *` commands have been renamed `mc idp *`.
Deprecate everything under `mc admin idp` and create pages for their new
names in the MinIO Client section.

Affects the following commands and subcommands;
* `mc admin idp ldap`
* `mc admin idp openid`
*  `mc admin idp ldap policy`

The new pages maintain the existing content and page structure. New
pages for each subcommand are out of scope for this PR.

Partly addresses https://github.com/minio/docs/issues/859 and
https://github.com/minio/docs/issues/866

Staged:

http://192.241.195.202:9000/staging/DOCS-859-part-2-idp/linux/html/reference/minio-mc.html

http://192.241.195.202:9000/staging/DOCS-859-part-2-idp/linux/html/reference/minio-mc-admin.html

http://192.241.195.202:9000/staging/DOCS-859-part-2-idp/linux/html/reference/minio-mc-deprecated.html

Co-authored-by: Daryl White <53910321+djwfyi@users.noreply.github.com>
2023-06-08 11:58:22 -06:00

2.2 KiB

mc admin user rm

minio

Table of Contents

mc admin user remove

mc admin user rm

Syntax

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

The mc admin user remove command has equivalent functionality to mc admin user rm.

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

EXAMPLE

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

mc admin user rm myminio myuser

SYNTAX

Removes a user on the target MinIO deployment.

The command has the following syntax:

mc [GLOBALFLAGS] admin user remove    \
                            ALIAS     \
            USERNAME

Parameters

ALIAS

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

USERNAME

The username of the user to remove.

Global Flags

Example

Remove a User

Use mc admin user rm to remove a user from a MinIO deployment:

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

Behavior

S3 Compatibility