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.
Body Required
-
The type of the interaction event. Only
SignIn
andRegister
are supported.Values are
SignIn
,Register
, orForgotPassword
.
Responses
-
The interaction event has been successfully updated.
-
The interaction event is invalid or cannot be updated. Only
SignIn
andRegister
are 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 \
-X PUT https://[tenant_id].logto.app/api/experience/interaction-event \
-H "Content-Type: application/json" \
-d '{"interactionEvent":"SignIn"}'
Request examples
{
"interactionEvent": "SignIn"
}