Update the exposed portion of the current user's logto config. Supports updating MFA states (enabled, skipped, skipMfaOnSignIn) and passkey sign-in binding states (skipped). Passkey is a WebAuthn MFA factor and shares the same account center field access control as MFA.
PATCH
/api/my-account/logto-configs
curl \
--request PATCH 'https://[tenant_id].logto.app/api/my-account/logto-configs' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"mfa":{"enabled":true,"skipped":true,"skipMfaOnSignIn":true},"passkeySignIn":{"skipped":true}}'
Request examples
{
"mfa": {
"enabled": true,
"skipped": true,
"skipMfaOnSignIn": true
},
"passkeySignIn": {
"skipped": true
}
}
Response examples (200)
{
"mfa": {
"enabled": true,
"skipped": true,
"skipMfaOnSignIn": true
},
"passkeySignIn": {
"skipped": true
}
}