Hi Cindy,
Thanks for posting the question to cummunity
yes with the password policy, you can achieve disabling the user when the user last login was 30 days ago
Please update your password policy in your customer
Get current customers by API https://developer.reltio.com/private/swagger.htm?module=Configuration#/Customer%20Management/getCustomerById
Use the response to Update customer API to update the password policy in this example I have chosen 30 as the inactive days of the user
which will be calculated from the last login date
https://developer.reltio.com/private/swagger.htm?module=Configuration#/Customer%20Management/updateCustomer
{
"id": "<<you customer id used in Getting customer details>>",
"passwordPolicy": {
"inactivePeriodInDays": 30
}
//rest of your customer properties
}
Please note user will be active until he/she tries to log in post-expiry of password as soon as he/she tries to generate a token/login user will be disabled
------------------------------
Shivaputrappa Patil
------------------------------
Original Message:
Sent: 11-02-2023 17:08
From: Cindy Voss
Subject: Automatic deactivation of user account
Is there a way to deactivate a user account automatically after a set duration of inactivity (30 days, 60 days, etc)?
------------------------------
Cindy Voss
------------------------------