Go To Sandbox
The AccountPasswordRules resource provides methods that allow you to obtain and update account password rules, as well as membership and account rules.
Get the password rules
Update the password rules
Get membership account password rules