Deleting Accounts
In order to delete accounts, will need
organization owner
permissions. Accounts can be deleted using the Fuzzball account
CLI delete
subcommand. The
subcommand takes an account ID as an argument.
In this example, we will delete account test-account1
created at the beginning of this section. To
obtain the account ID of test-account1
, we will use the Fuzzball account CLI subcommand list
.
The output below shows that the ID of account test-account1
is
324fe14b-1008-4c2d-8e07-e7136c7db38f
.
$ fuzzball account list
SELECTED | NAME | ID | CREATED TIME | LAST UPDATED
| User Account (admin@ciq.com) | 06559942-1f88-4c99-93c5-2dfb1537d355 | 2024-06-19 12:51:29PM | 2024-06-19 12:51:29PM
* | default | 2ec072f6-7ab2-42fc-acce-5fc0912ce3b0 | 2024-07-03 09:38:14PM | 2024-07-03 09:38:14PM
| test-account1 | 324fe14b-1008-4c2d-8e07-e7136c7db38f | 2024-07-09 10:18:18PM | 2024-07-09 10:18:18PM
Using the account ID, we will use the Fuzzball account CLI subcommand delete
and pass the account
ID 324fe14b-1008-4c2d-8e07-e7136c7db38f
as an argument. If the account is successfully deleted,
the command should not log any output.
$ fuzzball account delete 324fe14b-1008-4c2d-8e07-e7136c7db38f
Rerunning fuzzball account list
confirms that account test-account1
has been deleted.
SELECTED | NAME | ID | CREATED TIME | LAST UPDATED
| User Account (admin@ciq.com) | 06559942-1f88-4c99-93c5-2dfb1537d355 | 2024-06-19 12:51:29PM | 2024-06-19 12:51:29PM
* | default | 2ec072f6-7ab2-42fc-acce-5fc0912ce3b0 | 2024-07-03 09:38:14PM | 2024-07-03 09:38:14PM