Validate user password
POST/api/web/v1/users/:userid/password/validate
Validate user password. Caller requires the USERPASSWORDS:EDIT permission.
Request
Path Parameters
The UUID of the user whose password is to be validated.
- application/json
Body
required
If set to true, existing password history is ignored.
New password value that needs to be validated.
Responses
- 200
- 400
- 401
- 403
- 404
- 409
Successful
- application/json
- Schema
- Example (from schema)
Schema
True if password meets the active directory complexity requirements.
True if password meets the userId requirements. Password must not contain user alias.
True if password meets the alpha numeric requirements.
True if password does not contain a blacklisted password.
Possible values: [ON_PREM
, AZURE
, AD_CONNECTOR
]
Type of the directory the user is associated with, ON_PREM, AZURE or AD Connector.
True if password meets the full name requirements. Full Name must not be in the password.
True if password meets the length requirements.
True if password meets the lower case requirements.
List of validations that cannot be determined mostly due to user is AD managed.
True if password meets the numeric requirements.
True if password does not match the history if enabled.
True if password meets the repeated characters requirements.
True if password meets the minimum strength requirements.
True if password meets the upper case requirements.
True if password meets the userId requirements. Password must not contain userId.
userPasswordStrength
object
UserPasswordStrength
Evaluated password strength score.
0:very weak | 1:weak | 2:average | 3:good | 4:strong
Suggestions on how the password strength can be improved.
{
"adComplexity": true,
"alias": true,
"alphaNumeric": true,
"blacklisted": true,
"directoryType": "ON_PREM",
"fullName": true,
"length": true,
"lowerCase": true,
"nondeterministicValidations": [
"string"
],
"numeric": true,
"passwordHistory": true,
"repeatedCharacters": true,
"strength": true,
"upperCase": true,
"userID": true,
"userPasswordStrength": {
"score": 3,
"suggestions": "feedback.dictionary.suggestions.allUppercase"
}
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Access denied
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Conflict
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}