mc admin user rm


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.

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

mc admin user rm myminio myuser

Removes a user on the target MinIO deployment.

The command has the following syntax:

mc [GLOBALFLAGS] admin user remove    \
                            ALIAS     \
  • Brackets [] indicate optional parameters.

  • Parameters sharing a line are mutually dependent.

  • Parameters separated using the pipe | operator are mutually exclusive.

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



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


The username of the user to remove.

Global Flags

This command supports any of the global flags.


Remove a User

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

mc admin user rm ALIAS USERNAME
  • Replace ALIAS with the alias of the MinIO deployment.

  • Replace USERNAME with the username of the user to remove.


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 mc commands may work as documented, any such usage is at your own risk.