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 Answer
2
Accepted Answer

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
answered a year ago
profile picture
EXPERT
reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions