Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 2.84 KB

iam-remove-users.md

File metadata and controls

45 lines (28 loc) · 2.84 KB
copyright lastupdated keywords subcollection
years
2018, 2020
2020-06-09
remove user, delete user
account

{:shortdesc: .shortdesc} {:codeblock: .codeblock} {:screen: .screen} {:tip: .tip} {:note: .note}

Removing users from an account

{: #remove}

When you remove a user from an account, the user can no longer log in to the console, switch to your account, or access account resources. Removing a user from an account doesn't delete the IBMid for the user. {:shortdesc}

Only account owners or users with the following access can remove users from an account:

  • An Identity and access management (IAM) policy for the User management account management service with the Administrator role assigned and be the Cloud Foundry org manager if the user belongs to a Cloud Foundry org.
  • If you have classic infrastructure in your account, a user must have an IAM policy for the User management account management service with the Administrator role assigned, be the Cloud Foundry org manager if the user belongs to a Cloud Foundry org, and be an ancestor of the user in the classic infrastructure user hierarchy with the Manage user classic infrastructure permission assigned.

Only users with the correct access can remove others. If you use a service ID to authenticate, you can't remove users from the account. {: note}

To remove a user from an account, complete the following steps:

  1. In the {{site.data.keyword.cloud}} console, click Manage > Access (IAM), and select Users.
  2. From the row of the user that you want to remove, select Remove user from the Actions List of actions icon menu.

Any resources that are created by the user remain in the account, but any {{site.data.keyword.cloud_notm}} API keys that the user created are removed. The user no longer has access to work with the resources they created. The account owner or an administrator for the service or service instance can assign other users to work with the resources, or delete them from the account.

If you get an error message that states a classic infrastructure user can't be removed, make sure that any descendants in the user hierarchy for that user are assigned a new parent, disabled in the account, or deleted. Then, you can try again. {: tip}

As an alternative to removing a user from your account, you can move the user to a suspended state. The suspended state is used as a temporary way of restricting access to account resources. The user can log in to the console and view the account in their account list, but can no longer access resources in the account. All information and access policies that are associated with the account are saved. For more information, see Updating a user's status.