Change email
POST {{baseUrl}}/{{version}}/accounts/change/email
Allow the user to change his/her email. An authorization is required for this action to be carried out.
Request Body
[{"name"=>"email", "value"=>"my_existing@email.com", "datatype"=>"string"}, {"name"=>"new_email", "value"=>"my_new@email.com", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | A Valid JWT token |
RESPONSES
status: OK
{"error":false,"code":200,"message":"Your email has been changed."}