Delete Service Accounts

This section explains how to delete a service account.

Warning

After deleting a service account, applications using that service account will lose access to the KubeSphere cluster. Please proceed with caution.

Prerequisites

You should join a project and have the Service Account Management permission within the project. For more information, refer to “Project Members” and “Project Roles”.

Delete a Single Service Account

  1. Log in to the KubeSphere web console with a user who has the Service Account Management permission, and access your project.

  2. Click Configuration > Service Accounts in the left navigation pane.

  3. Click more on the right of the service account you want to delete, then choose Delete from the dropdown list.

  4. In the Delete Service Account dialog, enter the name of the service account, then click OK.

Delete Multiple Service Accounts

  1. Log in to the KubeSphere web console with a user who has the Service Account Management permission, and access your project.

  2. Click Configuration > Service Accounts in the left navigation pane.

  3. Select the checkbox on the left of the service accounts you want to delete, then click Delete above the service account list.

  4. In the Delete Multiple Service Accounts dialog, enter the name of the service accounts, then click OK.

    Note

    Please separate multiple names using a comma (,) and a space.