
6bi9r (6bi9r) asked a question.
Hi,
So I was trying to change the "passwordChanged" value for an Okta user to a different date via the update User API call and it didn't happen, which I understand. But wanted to see if anyone has been able to modify that value by any means.
Basically, the scenario that I am trying to test is, if there is a requirement where we do not want the passwords for all or majority of the users' in our Org expiring on the same day, how can we achieve that.
So if if had imported all our users into Okta on Day 1 and the password policy specifies expiry on day 90, we will have a bunch of users updating their password on that day. Just looking for a way around that. Have the password expiry date for a chunk of users to be changed, without them actually changing their passwords.

Hello Praveen,
Unfortunately, the passwordChanged value cannot be changed.
https://developer.okta.com/docs/reference/api/users/#update-user
The documentation states that we can only update the profile of an user, or credentials of an user.
passwordChanged, however is not part of the profile or credentials of the user, should be thought of as part of metadata for the user, which cannot be modified.