mc admin user rm — MinIO Object Storage for Linux (original) (raw)

Table of Contents

Syntax

The mc admin user rm command removes a MinIO user 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 or AD/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

Copy the example to a text editor and modify as-needed before running the command in the terminal/shell.

Parameters

ALIAS

Required

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

USERNAME

Required

The username of the user to remove.

Global Flags

This command supports any of the 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

Behavior

S3 Compatibility

The mc commandline tool is built for compatibility with the AWS S3 API and is tested with MinIO and AWS S3 for expected functionality and behavior.

MinIO provides no guarantees for other S3-compatible services, as their S3 API implementation is unknown and therefore unsupported. While mccommands may work as documented, any such usage is at your own risk.