mc admin user rm

The mc admin user rm command removes a MinIO AIStor user on the target MinIO AIStor 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.

Syntax

The following command removes user myuser on the myaistor MinIO AIStor deployment:

mc admin user rm myaistor myuser

The command has the following syntax:

mc [GLOBALFLAGS] admin user remove    \
                            ALIAS     \
                            USERNAME
  • 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.

Parameters

ALIAS

Required

The alias of the configured MinIO AIStor 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 AIStor deployment:

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

Behavior

S3 compatibility

This command uses a MinIO AIStor administrative API and does not work against other S3-compatible services.

On this page