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 \
--request POST https://[tenant_id].logto.app/api/sign-in-exp/default/check-password \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"password":"string","userId":"string"}'
Request examples
{
"password": "string",
"userId": "string"
}
Response examples (200)
Object-1
{
"result": true
}
{
"result": true,
"issues": [
{
"code": "string",
"interpolation": {}
}
]
}