Bind Email Confirm
Changed onVerify 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
Request
- Base URL: https://api.omicos.cn (the document declares no server; this is the origin it was published from)
- URL: https://api.omicos.cn/api/user/profile/bind-email-confirm
- Auth: none declared
Headers
authorizationstring nullable
x-omicos-devicestring nullable
x-omicos-device-kindstring nullable
x-omicos-device-namestring nullable
Request body
Response
Successful Response
object required
Changes
- info
added the new optional
headerrequest parameterx-omicos-device - info
added the new optional
headerrequest parameterx-omicos-device-kind - info
added the new optional
headerrequest parameterx-omicos-device-name
- info