change Email

open fun changeEmail(newEmail: String): JSONObject

Function 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