Skip to main content

Delete Default Users from the CLI

To delete the default accounts via the CLI, do the following:

  1. Enter the following commands:
    $ account admin delete
    $ account operator delete
    $ account user delete


    $ account admin delete
    Are you sure you want to delete admin account? (Y,N): y
    Account deleted successfully.
  2. Confirm that the accounts are deleted.

    $ account all list
    name                    role           state       pwd expiry      pubk
    ---------------------- -------------- ----------- --------------- ------
    initialadmin            Administrator  Enabled     in 30 days      No

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.