Password rules

Retrieve password rules

GET /api/v1/tenants/(string: tenant_id)/password_rules/

Implemented using ServiceProviderPasswordRulesGetRequest16.

Update password rules

PUT /api/v1/tenants/(string: tenant_id)/password_rules/

Implemented using ServiceProviderPasswordRulesModifyRequest14sp3.

Additional information:

Response JSON Object:
  • rulesApplyTo (string) – One of ‘Administrator’, ‘Administrator and User’, ‘Group Administrator and User External Authentication’

  • allowWebAddExternalAuthenticationUsers (boolean) – Only relevant if rulesApplyTo is ‘Group Administrator and User External Authentication’

  • minDigits (integer) – Value between 1 and 10.

  • minUpperCaseLetters (integer) – Value between 1 and 10.

  • minLowerCaseLetters (integer) – Value between 1 and 10.

  • minNonAlphanumericCharacters (integer) – Value between 1 and 10.

  • minLength (integer) – Value between 3 and 40. Must be at least the sum of the 4 previous parameters if they are enabled.

  • maxFailedLoginAttempts (integer) – Value between 0 and 10 (0 means never).

  • passwordExpiresDays (integer) – Value between 0 and 199 (0 means never).

  • numberOfPreviousPasswords (integer) – Value between 1 and 10.

Note:

when using ‘Administrator and User’, the rules update is propagated at Group level.