Get current password policy requirements
Returns the list of requirements for the current password policy. For example, “The password must have at least 10 characters.”, “The password must not be similar to the user’s name or email address.”, etc.
/api/2/password/policyAuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
AuthorizationBearer token · headerrequiredPersonal Access Token — Administration > Profile > Personal Access Tokens
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
hasOldPasswordbooleanWhether or not the user will be required to enter their current password. Use false (the default) if this is a new user or if an administrator is forcibly changing another user's password.
Returns a JSON array of the user-facing messages.
string