change Email

open fun changeEmail(newEmail: String): JSONObject

Method to execute the request to change the email of the user

Return

the result of the request as JSONObject

Parameters

newEmail

The new email of the user