Updated on 2026-11-10 GMT+08:00

Disabling or Deleting an IAM User

If an IAM user is no longer needed, you can disable or delete the user account. To prevent service disruptions caused by accidental deletion, it is advised to disable users before deleting them permanently.

After an IAM user is deleted, they can no longer log in and their username, password, access keys, and authorizations will be cleared and cannot be recovered.

Disabling an IAM User

  1. Log in to the IAM console. In the navigation pane, choose Users.
  2. Click the name of the target IAM user to go to the user details page.
  3. In the basic information pane, click next to Status and then select Disabled in the displayed dialog box. Alternatively, in the user list, click Modify in the Operation column of the IAM user and change the user status to Disabled.

    Figure 1 Disabling an IAM user

    After an IAM user is disabled, they cannot access cloud resources through any method, including the console or programmatic access.

  4. Click OK. In the IAM user list, check the user status. Verify that the status of the IAM user changes to Disabled.

Disabling IAM Users in Batches

  1. Log in to the IAM console. In the navigation pane, choose Users.
  2. In the user list, select the users you need to disable. Click Modify above the user list.

    Figure 2 Selecting users

  3. In the displayed dialog box, select Status from the drop-down list box and select Disable. After an IAM user is disabled, they cannot access cloud resources through any method, including the console or programmatic access.

    Figure 3 Changing user status

  4. Click OK. In the IAM user list, check the user status. Verify that the status of the IAM users changes to Disabled.

Deleting an IAM User

  1. Log in to the IAM console. In the navigation pane, choose Users.
  2. Click Delete in the row containing the IAM user you want to delete, enter DELETE, and click OK.

    After a user is deleted, it will not be displayed in the user list.

    Figure 4 Deleting an IAM user

Batch Deleting IAM Users

  1. Log in to the IAM console. In the navigation pane, choose Users.
  2. In the user list, select the users to be deleted and click Delete above the user list.

    Figure 5 Batch deleting IAM users

  3. In the displayed dialog box, enter DELETE.
  4. Click OK.

    After users are deleted, the deleted users will not be displayed in the user list.