mc admin account delete

Deletes an account.

The Object Store administrator runs this command to delete accounts. An account is deleted only if there are no users, buckets or buckets under it.

Syntax

CLI
mc admin account delete - delete account

USAGE:
  mc admin account delete TARGET account_name [ domain=<domain_name> ]

account_name:
  Name of the account that needs to be deleted

domain:
  The domain to which the account belongs.

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 deployment from which the command deletes the account. This parameter is mandatory.
account_name The name of the account to delete. This parameter is mandatory.
domain The name of the domain to which the account being deleted belongs.
json Enables JSON formatted output.
debug Enables output for debugging.
insecure Disables SSL verification.
help Shows this help.

Examples

  1. Delete an account sales from the Object Store deployment with alias salesobject:
    CLI
     mc admin account delete salesobject 'sales'
  2. Delete an account sales in the Object Store deployment with alias salesobject, from the domain north_america:
    CLI
     mc admin account delete salesobject sales domain=north-america