Record whether the user trusts the current device after eligible MFA verification or binding. A trusted-device credential is created only after the interaction is successfully submitted.
Responses
-
The trusted-device opt-in decision has been recorded for the current interaction.
-
The decision payload is invalid, or trusted-device opt-in is not supported for the current interaction event.
-
An eligible MFA verification or binding is required before accepting the trusted-device opt-in.
-
The user has not been identified yet.
POST
/api/experience/profile/trusted-device
curl \
--request POST 'https://[tenant_id].logto.app/api/experience/profile/trusted-device' \
--header "Content-Type: application/json" \
--data '{"trusted":true}'
Request examples
{
"trusted": true
}