Deleting an Administrator Account

This section describes how to delete an administrator account.

Using the Service Web UI

  1. Open the navigation menu and click Users.

  2. Click the administrator account you want to delete. The user detail page is displayed.

  3. Click Delete. Confirm the operation when prompted.

Using the Service CLI

  1. Look up the name and ID of the administrator account you want to delete.

    PCA-ADMIN> list User
    Command: list User
    Status: Success
    Time: 2021-08-25 08:49:01,064 UTC
    Data:
      id                                     name
      --                                     ----
      401fce73-5bee-48b1-b86d-fba1d85e049b   admin
      682ebc19-8493-4e9a-817c-148acea4b1d4   testadmin
  2. To delete the administrator account, use the delete User command followed by the account name or ID.

    PCA-ADMIN> delete User name=testadmin
    Command: delete user name=testadmin
    Status: Success
    Time: 2021-08-25 09:20:09,249 UTC
    JobId: 56e9dfcb-6b64-4f9d-b137-171f538029d3
  3. Verify that the deleted account is no longer displayed in the user list.

    PCA-ADMIN> list User
    Command: list User
    Status: Success
    Time: 2021-08-25 09:22:07,743 UTC
    Data:
      id                                     name
      --                                     ----
      401fce73-5bee-48b1-b86d-fba1d85e049b   admin