mc admin group remove

Removes an IAM group.

Syntax

CLI
mc admin group remove TARGET GROUPNAME [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 from which the command removes a group. This parameter is mandatory.
GROUPNAME The name of the group to remove. This parameter is mandatory.
NOTE
The group is removed only if there are no users in it.
account The name of the account to which the group belongs.
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

Remove a group hydsales from the asiapac account in the Object Store deployment with alias salesobject.
CLI
/opt/mapr/bin/mc admin group remove salesobject hydsales account=asiapac -json