Convert anonymous account to a full account
POST/auth/users/convert
Upgrade the calling anonymous user to a full email+password account in place. The end_user.id is preserved, so customer-domain tables with foreign keys to end_users.id need no migration on conversion.
All prior sessions for the user (including the anonymous token used to make this call) are revoked. A fresh token pair is returned in the response body. The conversion is the moment the user becomes billable -- MAU is tracked from this point forward.
Request
Responses
- 200
- 400
- 401
- 409
- 500
Account converted; fresh tokens issued
Validation error or password does not meet requirements
Anonymous bearer token required
User not found, already converted, or email already in use
Internal server error