Reltio Connect

 View Only
  • 1.  Automatic deactivation of user account

    Posted 11-03-2023 09:02

    Is there a way to deactivate a user account automatically after a set duration of inactivity (30 days, 60 days, etc)?



    ------------------------------
    Cindy Voss
    ------------------------------


  • 2.  RE: Automatic deactivation of user account

    Reltio Employee
    Posted 11-08-2023 00:09

    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
    ------------------------------