put https://user-dev.aylanetworks.com/users/update_email.json
This API updates the email associated with the end-user account.
It updates the username with email if primary_contact is email.
The API also invalidates the API caller's current access token requiring the caller to invoke getTokens
to obtain new tokens.