palbaseDocs

Palbase Auth API · API

GET/admin/users/{uid}/mfa

List a user's MFA factors

Lists every MFA factor the user has enrolled, verified or not. A user ID that does not exist answers an empty list. 503 mfa_unavailable when this server runs without MFA.

Called by your server, with the project's secret key.

Path

uidstring · requiredThe user's ID.
curl
curl -X GET "https://<your-ref>.palbase.studio/admin/users/<uid>/mfa" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200The user's factors

400Validation failed or required field missing

401Missing, invalid, or expired credentials

403Authenticated but not permitted (banned, hook denial, role mismatch)

404Resource does not exist or is not visible to the caller

503Downstream dependency unavailable (typically HIBP / breach service)

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation AdminListUserMFAFactors of auth's contract.