Skip to content

List verified MFA methods for the current user

GET
/v1/users/me/mfa
curl --request GET \
--url https://example.com/v1/users/me/mfa \
--header 'Authorization: Bearer <token>' \
--header 'X-Tenant-ID: 2489E9AD-2EE2-8E00-8EC9-32D5F69181C0'
X-Tenant-ID
required
string format: uuid

Tenant identifier. Must match the tenant associated with the credential. Returns 403 tenant_mismatch if the credential and header belong to different tenants.

OK

Media type application/json
object
methods
required
Array<object>
object
id
required
string format: uuid
method_type
required
string
Allowed values: totp webauthn_passkey webauthn_fido
device_name
string
nullable
verified
required
boolean
created_at
required
string format: date-time
last_used_at
string format: date-time
nullable
Example
{
"methods": [
{
"method_type": "totp"
}
]
}

Unauthenticated

Media type application/json
object
code
required

Machine-readable error code (e.g. “not_found”, “tenant_mismatch”).

string
message
required

Human-readable description of the error.

string
details

Optional additional context about the error.

object
key
additional properties
any
notices

Policy notices from determining Cedar rules, if applicable.

Array<string>
Example generated
{
"code": "example",
"message": "example",
"details": {},
"notices": [
"example"
]
}