mc admin user remove
Removes an IAM user account.
The Object Store administrator runs this command to remove an IAM user. On removal, the ownership of the resources belonging to the user is transferred to the administrator of the account to which the user belongs.
Syntax
- CLI
-
mc admin user remove TARGET USERNAME [account=<account name> domain=<domain name>] FLAGS: --json enable JSON lines formatted output --debug enable debug output --insecure disable SSL certificate verification --help, -h show help
Parameters
Parameter | Description |
---|---|
TARGET |
The alias of a configured HPE Ezmeral Object Store on which the command removes the user. This parameter is mandatory. |
USERNAME |
The user name to remove. This parameter is mandatory. |
account |
The name of the account in which the user exists. |
domain |
The name of the domain under which the account exists. |
json |
Enables JSON formatted output. |
debug |
Enables output for debugging. |
insecure |
Disables SSL verification. |
help |
Shows this help. |
Example
- Removes a user joe from the
northamerica
account in the Object Store deployment with alias salesobject.- CLI
-
/opt/mapr/bin/mc admin user remove salesobject joe account='northamerica'