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 年前檢視次數 1451 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南