disable AWS Identity Center users

0

In the console, one can disable an AWS Identity Center user, but I don't see an API that does it. Am I missing it? https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Operations.html

We need to programmatically disable users, but don't know of a way to do it.

已提问 1 年前1453 查看次数
1 回答
2
已接受的回答

Hello ,

Thank you for posting your question on the AWS Repost, my name is Rochak and it will be a pleasure assisting you with this today.

I understand you are trying to find an API to disable an AWS Identity Center user.. Please, let me know if my understanding is incorrect.

Currently there are no API in AWS Identity Center to disable it programmatically. These are all the API supported by the service [1]

You have to disable user from the console. The steps are as follows:

To disable user access

  1. Open the IAM Identity Center console
  2. Choose Users.
  3. Choose the user whose access you want to disable.
  4. By General information, choose Disable user access.
  5. In the Disable user access dialog box, choose Disable user access.

Please note that when you disable user access or delete a user in IAM Identity Center, that user will immediately be prevented from signing in to the AWS access portal and will not be able to create new sign in sessions. For more information, see Authentication sessions. [2]

I hope this helps. If you need further info, let me know in the comments; otherwise I'd appreciate if you mark my answer as "ACCEPTED".

Kind regards, Rochak from AWS

References:

[1] IAM Identity Center API https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_Operations.html

[2] Disable IAM User Access https://docs.aws.amazon.com/singlesignon/latest/userguide/disableuser.html

AWS
已回答 1 年前
profile picture
专家
已审核 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则