.. _minio-mc-admin-user-remove: ===================== ``mc admin user rm`` ===================== .. default-domain:: minio .. contents:: Table of Contents :local: :depth: 2 .. mc:: mc admin user remove .. mc:: mc admin user rm Syntax ------ .. start-mc-admin-user-remove-desc The :mc:`mc admin user rm` command removes a :ref:`MinIO user ` on the target MinIO deployment. .. end-mc-admin-user-remove-desc The :mc:`mc admin user remove` command has equivalent functionality to :mc:`mc admin user rm`. To manage external Identity Provider users, see :mc:`OIDC ` or :mc:`AD/LDAP `. .. tab-set:: .. tab-item:: EXAMPLE The following command removes user ``myuser`` on the ``myminio`` MinIO deployment: .. code-block:: shell :class: copyable mc admin user rm myminio myuser .. tab-item:: SYNTAX Removes a user on the target MinIO deployment. The command has the following syntax: .. code-block:: shell :class: copyable mc [GLOBALFLAGS] admin user remove \ ALIAS \ USERNAME .. include:: /includes/common-minio-mc.rst :start-after: start-minio-syntax :end-before: end-minio-syntax Parameters ~~~~~~~~~~ .. mc-cmd:: ALIAS :required: The :mc:`alias ` of the configured MinIO deployment with the user to remove. .. mc-cmd:: USERNAME :required: The username of the user to remove. Global Flags ~~~~~~~~~~~~ .. include:: /includes/common-minio-mc.rst :start-after: start-minio-mc-globals :end-before: end-minio-mc-globals Example ------- Remove a User ~~~~~~~~~~~~~ Use :mc-cmd:`mc admin user rm` to remove a user from a MinIO deployment: .. code-block:: shell :class: copyable mc admin user rm ALIAS USERNAME - Replace :mc-cmd:`ALIAS ` with the :mc-cmd:`alias ` of the MinIO deployment. - Replace :mc-cmd:`USERNAME ` with the username of the user to remove. Behavior -------- S3 Compatibility ~~~~~~~~~~~~~~~~ .. include:: /includes/common-minio-mc.rst :start-after: start-minio-mc-s3-compatibility :end-before: end-minio-mc-s3-compatibility