Bind Email Confirm

Verify the OTP + write the email to the caller's user row.

Mirrors /api/auth/email/login's verification (expiry, max attempts, constant-time compare) but updates the existing row instead of creating one. Returns the updated public-user shape (same as /api/auth/me) so the SPA can refresh its store without a refetch.

post/api/user/profile/bind-email-confirm

Headers

authorizationstring nullable

Request body

emailstring required
codestring required

Response

Successful Response

object required

Changes

No recorded changes to this endpoint across all 1 revision of this API.