Last updated: September 23, 2026

Save / Update Password Policy

Save / Update Password Policy.

Request

POSThttps://superadminuser.miniorange.in/services/api/directory/v1/admin/password-policy

Authentication headers (required on every request)

Customer-Key
Super Admin ID for the actor account.
Timestamp
Milliseconds since epoch (e.g. Date.now()).
Authorization
SHA-512 of superAdminId + timestamp + apiKey.
X-Target-Customer-Id
Customer tenant the Super Admin is acting on.

Parameters

NameTypeRequiredDescription
minLengthNumberOptional
maxLengthNumberOptional
passwordExpiryDaysNumberOptional
trackLastNPasswordsNumberOptional
allowedSymbolsStringOptional
requireLowercaseStringOptional
requireUppercaseStringOptional
requireNumbersStringOptional
requireSymbolsStringOptional
restrictUsernameStringOptional
restrictFnameStringOptional
restrictLnameStringOptional
restrictEmailStringOptional
forceUsersToChangePasswordStringOptional
maxSameCharsAllowedNumberOptional
notifyAfterBlockStringOptional
unlockUsingResetStringOptional
noOfAttemptsNumberOptional
timeToDisableNumberOptional

Request body

{
    "minLength": 8,
    "maxLength": 15,
    "passwordExpiryDays": 90,
    "trackLastNPasswords": 5,
    "allowedSymbols": "!@#$.%^&*-_",
    "requireLowercase": true,
    "requireUppercase": true,
    "requireNumbers": true,
    "requireSymbols": true,
    "restrictUsername": false,
    "restrictFname": false,
    "restrictLname": false,
    "restrictEmail": false,
    "forceUsersToChangePassword": true,
    "maxSameCharsAllowed": 2,
    "notifyAfterBlock": false,
    "unlockUsingReset": false,
    "noOfAttempts": 3,
    "timeToDisable": 30
}

No sample response is documented for this endpoint yet. Use Try it on the right to see the live response from your tenant.

Copied