List groups of usernames that collide when compared case-insensitively (i.e. usernames that would clash if the tenant switched to a case-insensitive username policy), with the total group count and a capped sample. Useful for surfacing conflicts before disabling case sensitivity.
GET
/api/sign-in-exp/username-policy/case-sensitivity-conflicts
curl \
--request GET 'https://[tenant_id].logto.app/api/sign-in-exp/username-policy/case-sensitivity-conflicts?limit=20' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"totalConflicts": 42.0,
"samples": [
{
"usernameLower": "string",
"userIds": [
"string"
]
}
]
}