Send email update code
Update email
Send email update code
Begin a two-step email change flow by requesting a verification code.
This endpoint does not update the email address by itself.
Flow:
- Call this endpoint with the target email address.
- Read the verification code delivered to that address.
- Call PUT /user/account/email to verify the code and complete the change.
Use this split flow when you need proof that the new email address is controlled by the user.
PATCH
Send email update code
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Email address used to trigger a verification email from Logto.
Email address to verify
Response
204
A verification code was sent to the email address