Active user after changing email

(Gautam Patadiya) #1

Hi there,

I am using discourse API to change email of the user with master API key.

API address something like : /users/:username/preferences/email.json

In parameters I am passing new-email, api_key, and api_username. It returns me null as a response and sending confirmation email on new email.

I want active user directly here anyone has good suggestion to complete this process.