Do we have an API to lock user?

Do we have an API to lock user?

Hi @konyUser,

You can use the API call to suspend the user https://developer.okta.com/docs/reference/api/users/#suspend-user

Thanks @warren can we get locked out status for suspened users?

@konyUser based on this model https://developer.okta.com/docs/reference/api/authn/#transaction-state, it doesn’t look like you can get a locked_out status if the user is suspended.