Update interaction event
Update the current experience interaction event to the given event type. This API is used to switch the interaction event between SignIn and Register, while keeping all the verification records data.
Responses
-
The interaction event has been successfully updated.
-
The interaction event is invalid or cannot be updated. Only
SignInandRegisterare interchangeable. If the current interaction event isForgotPassword, it cannot be updated. -
The given interaction event is not enabled in the sign-in experience settings.
PUT
/api/experience/interaction-event
curl \
--request PUT 'https://[tenant_id].logto.app/api/experience/interaction-event' \
--header "Content-Type: application/json" \
--data '{"interactionEvent":"SignIn"}'
Request examples
{
"interactionEvent": "SignIn"
}