GET
/api/admin/users/{uid}/mfaAdminList a user's MFA factor types
Reports which kinds of verified second factors (TOTP, passkeys) the user has enrolled.
operationId
get_api_admin_users_uid_mfaAdministrationAuthentication & permissionsAdmin
Platform administrators only
- Accepted credentials
- Auth server session (refresh token cookie)
cookie "refresh_token_<auth_server_app_id>" - Access token (cookie)
cookie "access_token_<auth_server_app_id>" - Access token (Bearer)
Authorization: Bearer <JWT>
- Auth server session (refresh token cookie)
- Who may call
- Platform administrators only
Path parameters
| Name | Type | Description |
|---|---|---|
| uid* | string (uuid) | uid of the target user |
Responses
application/json
| Property | Type | Description |
|---|---|---|
| success* | true | |
| data* | object | |
| factor_types* | "totp" | "webauthn"[] |
JSONExample
"success"true
"data"
"factor_types"
"totp"
Example request
bashcurl
curl -X GET 'https://auth.schemavaults.com/api/admin/users/<uid>/mfa' \
-b 'refresh_token_<auth_server_app_id>=<value>'