change
Email
@PatchMapping(path = "USERS_KEY + "/{" + IDENTIFIER_KEY + "}" + CHANGE_EMAIL_ENDPOINT",
headers = []
)
Method to change the email of the user
Return
the result of the request as String
Parameters
id
: the identifier of the user
token
: the token of the user
payload
: payload of the request
{
"email": "the new email of the user" -> [String]
}
Content copied to clipboard