Configure password expiration
Enable password expiration
To enforce an expiration of a user’s password after a specified number of days:
-
Use the admin console to place a checkmark next to the Enable password expiration preference setting
-
Use the
cluster
endpoint of the REST APIPUT https://[host][:port]/v1/cluster {"password_expiration_duration":<number_of_days>}
Deactivate password expiration
To deactivate password expiration:
-
Remove the checkmark next to the to the Enable password expiration preference setting.
For help locating the setting, see Password complexity rules.
-
Use the
cluster
REST API endpoint to setpassword_expiration_duration
to0
(zero).