PUT /u/{username}.json does not change the email

Hi xbd,

According to the documentation, changing the email uses this endpoint: /u/{username}/preferences/email.json: https://docs.discourse.org/#tag/Users/operation/updateEmail

However, it will send a confirmation link to the email address to be manually approved by the user. Until then, the email won’t be changed.

5 Likes