Check if a password meets the password policy
Check if a password meets the password policy in the sign-in experience settings.
POST /api/sign-in-exp/default/check-password
curl \
-X POST https://[tenant_id].logto.app/api/sign-in-exp/default/check-password \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"password":"string","userId":"string"}'
Request examples
{
"password": "string",
"userId": "string"
}
Response examples (200)
Object-1 (generated)
{
"result": true
}
{
"result": true,
"issues": [
{
"code": "string",
"interpolation": {}
}
]
}