SetPasswordPolicy

Sets the password policy for a managed group.
This call can only be executed by the group manager.

Authentication Methods


  1. With a username and password
Input Parameter Type Description
Token* String Security token
Length* Integer Minimum password length
Expiry* Integer Number of days for the passworde expiry date
Numbers* Boolean Password must contain numbers
SpecialChars* Boolean Password must contain special characters
MixedCasing* Boolean Password must contain at least one upper case character
NotUsername* Boolean Password may not be the first or last name nor the email address of the account
TwoFactorAuth* String Enable two-factor authentication. Options: "Device", "Always" and "Disabled"
RememberPassword Boolean Enable/Disable remember password on web/desktop clients and apps
Output Parameter Type Description
Success Boolean

*Required

CURL EXAMPLE
curl -v 'https://secure.nomadesk.com/ctrller/api.php?Token=f8muiuc79u7kes7fr265t77001&Task=SetPasswordPolicy&Length=8&Expiry=30&Numbers=true&SpecialChars=false&MixedCasing=false&NotUsername=true&TwoFactorAuth=Disabled
RESPONSE
<Response>
    <Status>1</Status>
    <Message></Message>
</Response>